aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2007-11-05 18:09:18 +0000
committerJoel Brobecker <brobecker@gnat.com>2007-11-05 18:09:18 +0000
commit60b0bfbcb3d560c822f8b0a92d838a14a2c4f88d (patch)
tree2ae264d890e0a39f6b71bed43f430c05e5e79698 /gdb/breakpoint.c
parenta239dc2386c411883820ac1752a8fa88ed967c8a (diff)
downloadgdb-60b0bfbcb3d560c822f8b0a92d838a14a2c4f88d.zip
gdb-60b0bfbcb3d560c822f8b0a92d838a14a2c4f88d.tar.gz
gdb-60b0bfbcb3d560c822f8b0a92d838a14a2c4f88d.tar.bz2
* breakpoint.h (set_breakpoint_sal): Remove declaration.
* breakpoint.c (set_breakpoint_sal): Delete.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 8f2cbad..7d92964 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -6982,19 +6982,6 @@ catch_command_1 (char *arg, int tempflag, int from_tty)
}
}
-/* Used by the gui, could be made a worker for other things. */
-
-struct breakpoint *
-set_breakpoint_sal (struct symtab_and_line sal)
-{
- struct breakpoint *b;
- b = set_raw_breakpoint (sal, bp_breakpoint);
- set_breakpoint_count (breakpoint_count + 1);
- b->number = breakpoint_count;
- b->thread = -1;
- return b;
-}
-
static void
catch_command (char *arg, int from_tty)
{