diff options
author | Michael Snyder <msnyder@vmware.com> | 2008-08-06 04:25:11 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2008-08-06 04:25:11 +0000 |
commit | ef0d312a8fff6d685cb8dda6d54664d45cd0d02f (patch) | |
tree | 6884d1e7dfa5ba5a123bba4a1ce399abb833ccef | |
parent | d3ae097c44ade2d0dfb5ddd4585d1e2b94bdf1d8 (diff) | |
download | gdb-ef0d312a8fff6d685cb8dda6d54664d45cd0d02f.zip gdb-ef0d312a8fff6d685cb8dda6d54664d45cd0d02f.tar.gz gdb-ef0d312a8fff6d685cb8dda6d54664d45cd0d02f.tar.bz2 |
2008-08-05 Phil Muldoon <pmuldoon@redhat.com>
* breakpoint.c (create_longjmp_breakpoint): Remove unused struct
breakpoint.
(set_longjmp_breakpoint): Likewise.
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/breakpoint.c | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 87eac7e..6da4d0b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2008-08-05 Phil Muldoon <pmuldoon@redhat.com> + + * breakpoint.c (create_longjmp_breakpoint): Remove unused struct + breakpoint. + (set_longjmp_breakpoint): Likewise. + 2008-08-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> PR build/2490 diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 5f2404d..05fe726 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -4466,7 +4466,6 @@ create_internal_breakpoint (CORE_ADDR address, enum bptype type) static void create_longjmp_breakpoint (char *func_name) { - struct breakpoint *b; struct minimal_symbol *m; if ((m = lookup_minimal_symbol_text (func_name, NULL)) == NULL) @@ -4482,8 +4481,6 @@ create_longjmp_breakpoint (char *func_name) void set_longjmp_breakpoint (void) { - struct breakpoint *b; - if (gdbarch_get_longjmp_target_p (current_gdbarch)) { create_longjmp_breakpoint ("longjmp"); |