From: Anthony Green Date: Wed, 9 Jan 2013 21:51:18 +0000 (+0000) Subject: Fixes for solaris compiler X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=843e694d6a6dd64a1a3e95ba9f30bdeab8d1fcdb;p=binutils-gdb.git Fixes for solaris compiler --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f849d595cee..fe5bb9dd922 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2013-01-09 Anthony Green + + * 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 * symfile.h (quick_symbol_functions): Delete member diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index 842200086fd..b4849a944e6 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -11793,7 +11793,7 @@ allocate_location_catch_assert (struct breakpoint *self) static void re_set_catch_assert (struct breakpoint *b) { - return re_set_exception (ex_catch_assert, b); + re_set_exception (ex_catch_assert, b); } static void diff --git a/gdb/cp-abi.c b/gdb/cp-abi.c index 37cf9c9e4fd..f2a96deda64 100644 --- a/gdb/cp-abi.c +++ b/gdb/cp-abi.c @@ -176,7 +176,7 @@ cplus_print_vtable (struct value *value) { if (current_cp_abi.print_vtable == NULL) error (_("GDB cannot print the vtable on this target")); - return (*current_cp_abi.print_vtable) (value); + (*current_cp_abi.print_vtable) (value); } int