Fixes for solaris compiler

This commit is contained in:
Anthony Green 2013-01-09 21:51:18 +00:00
parent da51c34722
commit 843e694d6a
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2013-01-09 Anthony Green <green@moxielogic.com>
* cp-abi.c (cplus_print_vtable): Don't return value from void
function.
* ada-lang.c (re_set_catch_assert): Ditto.
2013-01-09 Doug Evans <dje@google.com> 2013-01-09 Doug Evans <dje@google.com>
* symfile.h (quick_symbol_functions): Delete member * symfile.h (quick_symbol_functions): Delete member

View File

@ -11793,7 +11793,7 @@ allocate_location_catch_assert (struct breakpoint *self)
static void static void
re_set_catch_assert (struct breakpoint *b) re_set_catch_assert (struct breakpoint *b)
{ {
return re_set_exception (ex_catch_assert, b); re_set_exception (ex_catch_assert, b);
} }
static void static void

View File

@ -176,7 +176,7 @@ cplus_print_vtable (struct value *value)
{ {
if (current_cp_abi.print_vtable == NULL) if (current_cp_abi.print_vtable == NULL)
error (_("GDB cannot print the vtable on this target")); error (_("GDB cannot print the vtable on this target"));
return (*current_cp_abi.print_vtable) (value); (*current_cp_abi.print_vtable) (value);
} }
int int