diff options
author | Anthony Green <green@redhat.com> | 2013-01-09 21:51:18 +0000 |
---|---|---|
committer | Anthony Green <green@redhat.com> | 2013-01-09 21:51:18 +0000 |
commit | 843e694d6a6dd64a1a3e95ba9f30bdeab8d1fcdb (patch) | |
tree | c28e578928b2e60cb1bfa6dcb8a45dcfe9c18b54 /gdb | |
parent | da51c3472290253124329257bffc2a40bf44c41a (diff) | |
download | gdb-843e694d6a6dd64a1a3e95ba9f30bdeab8d1fcdb.zip gdb-843e694d6a6dd64a1a3e95ba9f30bdeab8d1fcdb.tar.gz gdb-843e694d6a6dd64a1a3e95ba9f30bdeab8d1fcdb.tar.bz2 |
Fixes for solaris compiler
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/ada-lang.c | 2 | ||||
-rw-r--r-- | gdb/cp-abi.c | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f849d59..fe5bb9d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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> * symfile.h (quick_symbol_functions): Delete member diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index 8422000..b4849a9 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 37cf9c9..f2a96de 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 |