From: Michael Snyder Date: Wed, 6 Aug 2008 04:25:11 +0000 (+0000) Subject: 2008-08-05 Phil Muldoon X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ef0d312a8fff6d685cb8dda6d54664d45cd0d02f;p=binutils-gdb.git 2008-08-05 Phil Muldoon * breakpoint.c (create_longjmp_breakpoint): Remove unused struct breakpoint. (set_longjmp_breakpoint): Likewise. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 87eac7e8f41..6da4d0b5904 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2008-08-05 Phil Muldoon + + * breakpoint.c (create_longjmp_breakpoint): Remove unused struct + breakpoint. + (set_longjmp_breakpoint): Likewise. + 2008-08-04 John David Anglin PR build/2490 diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 5f2404d10bd..05fe7262975 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");