aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2008-08-06 04:25:11 +0000
committerMichael Snyder <msnyder@vmware.com>2008-08-06 04:25:11 +0000
commitef0d312a8fff6d685cb8dda6d54664d45cd0d02f (patch)
tree6884d1e7dfa5ba5a123bba4a1ce399abb833ccef /gdb/breakpoint.c
parentd3ae097c44ade2d0dfb5ddd4585d1e2b94bdf1d8 (diff)
downloadgdb-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.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c3
1 files changed, 0 insertions, 3 deletions
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");