aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2002-02-01 23:44:39 +0000
committerMichael Snyder <msnyder@vmware.com>2002-02-01 23:44:39 +0000
commitc7bd442ca076637d5d8ee83b5b82b436c2ae3864 (patch)
tree332c441c90decde0e133568e1246c2dea135818c /gdb/breakpoint.c
parent121e3e35573a644932b0751b1c6671d406b5ad85 (diff)
downloadgdb-c7bd442ca076637d5d8ee83b5b82b436c2ae3864.zip
gdb-c7bd442ca076637d5d8ee83b5b82b436c2ae3864.tar.gz
gdb-c7bd442ca076637d5d8ee83b5b82b436c2ae3864.tar.bz2
2002-02-01 Michael Snyder <msnyder@redhat.com>
* breakpoint.c (create_temp_exception_breakpoint): Delete.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c24
1 files changed, 0 insertions, 24 deletions
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)
{