From: Michael Snyder Date: Fri, 1 Feb 2002 23:44:39 +0000 (+0000) Subject: 2002-02-01 Michael Snyder X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c7bd442ca076637d5d8ee83b5b82b436c2ae3864;p=binutils-gdb.git 2002-02-01 Michael Snyder * breakpoint.c (create_temp_exception_breakpoint): Delete. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 991346904b0..24b8c751726 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,6 @@ 2002-02-01 Michael Snyder + * breakpoint.c (create_temp_exception_breakpoint): Delete. * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands. 2002-02-01 Daniel Jacobowitz diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 8ad7848bceb..728a53c566d 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) {