2008-08-05 Phil Muldoon <pmuldoon@redhat.com>
authorMichael Snyder <msnyder@vmware.com>
Wed, 6 Aug 2008 04:25:11 +0000 (04:25 +0000)
committerMichael Snyder <msnyder@vmware.com>
Wed, 6 Aug 2008 04:25:11 +0000 (04:25 +0000)
* breakpoint.c (create_longjmp_breakpoint): Remove unused struct
breakpoint.
(set_longjmp_breakpoint): Likewise.

gdb/ChangeLog
gdb/breakpoint.c

index 87eac7e8f41296bd3eae76e70b4335508441f5ff..6da4d0b5904064cfb9ab96591512aecadfdc4775 100644 (file)
@@ -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
index 5f2404d10bd2930f84a96ac61eeb81d127232318..05fe72629754acd22a25de81630d7bb09cd5b0c2 100644 (file)
@@ -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");