aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog1
-rw-r--r--gdb/breakpoint.c24
2 files changed, 1 insertions, 24 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9913469..24b8c75 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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>
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 8ad7848..728a53c 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -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)
{