2002-02-01 Michael Snyder <msnyder@redhat.com>
authorMichael Snyder <msnyder@vmware.com>
Fri, 1 Feb 2002 23:44:39 +0000 (23:44 +0000)
committerMichael Snyder <msnyder@vmware.com>
Fri, 1 Feb 2002 23:44:39 +0000 (23:44 +0000)
* breakpoint.c (create_temp_exception_breakpoint): Delete.

gdb/ChangeLog
gdb/breakpoint.c

index 991346904b01a118d48ac2af890bd2bdaf72d1ac..24b8c75172625fc1c8511b2002dcab99ff722789 100644 (file)
@@ -1,5 +1,6 @@
 2002-02-01  Michael Snyder  <msnyder@redhat.com>
 
+       * breakpoint.c (create_temp_exception_breakpoint): Delete.
        * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands.
 
 2002-02-01  Daniel Jacobowitz  <drow@mvista.com>
index 8ad7848bceb0f4a1dfffc46f6725c98f34cc8f50..728a53c566d836bc3f1eeb857e01f32bd71e1a54 100644 (file)
@@ -6145,30 +6145,6 @@ handle_gnu_4_16_catch_command (char *arg, int tempflag, int from_tty)
   xfree (sals.sals);
 }
 
-#if 0
-/* This creates a temporary internal breakpoint
-   just to placate infrun */
-static struct breakpoint *
-create_temp_exception_breakpoint (CORE_ADDR pc)
-{
-  struct symtab_and_line sal;
-  struct breakpoint *b;
-
-  INIT_SAL (&sal);
-  sal.pc = pc;
-  sal.symtab = NULL;
-  sal.line = 0;
-
-  b = set_raw_breakpoint (sal, bp_breakpoint);
-
-  b->disposition = disp_del;
-  b->enable_state = bp_enabled;
-  b->silent = 1;
-  b->number = internal_breakpoint_number--;
-  return b;
-}
-#endif
-
 static void
 catch_command_1 (char *arg, int tempflag, int from_tty)
 {