This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Remove an old merge artifact.
- From: Michael Snyder <msnyder at cygnus dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Fri, 1 Feb 2002 15:38:24 -0800
- Subject: [PATCH] Remove an old merge artifact.
This has never been used.
2002-02-01 Michael Snyder <msnyder@redhat.com>
* breakpoint.c (create_temp_exception_breakpoint): Delete.
Index: breakpoint.c
===================================================================
RCS file: /cvs/src/src/gdb/breakpoint.c,v
retrieving revision 1.60
diff -c -3 -p -r1.60 breakpoint.c
*** breakpoint.c 2002/02/01 02:05:12 1.60
--- breakpoint.c 2002/02/01 23:43:43
*************** handle_gnu_4_16_catch_command (char *arg
*** 6145,6174 ****
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)
{
--- 6145,6150 ----