aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorLuis Machado <lgustavo@codesourcery.com>2015-06-17 11:08:55 -0300
committerLuis Machado <lgustavo@codesourcery.com>2015-06-17 16:09:24 -0300
commitda4616f69f53c221477388b6f2d4abee9bba0722 (patch)
tree117bd67162ba89b758a19e3fab11881723e56884 /gdb/breakpoint.c
parent0eacb2983d96fd7f12a1400a66450c1a89578f00 (diff)
downloadgdb-da4616f69f53c221477388b6f2d4abee9bba0722.zip
gdb-da4616f69f53c221477388b6f2d4abee9bba0722.tar.gz
gdb-da4616f69f53c221477388b6f2d4abee9bba0722.tar.bz2
Remove unused function make_breakpoint_permanent.
make_breakpoint_permanent is no longer used anywhere and can be safely removed. gdb/ChangeLog: 2015-06-17 Luis Machado <lgustavo@codesourcery.com> * breakpoint.c (make_breakpoint_permanent): Remove unused function. * breakpoint.h (make_breakpoint_permanent): Remove declaration.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 0a960f8..7f9e161 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -7431,26 +7431,6 @@ set_raw_breakpoint (struct gdbarch *gdbarch,
return b;
}
-
-/* Note that the breakpoint object B describes a permanent breakpoint
- instruction, hard-wired into the inferior's code. */
-void
-make_breakpoint_permanent (struct breakpoint *b)
-{
- struct bp_location *bl;
-
- /* By definition, permanent breakpoints are already present in the
- code. Mark all locations as inserted. For now,
- make_breakpoint_permanent is called in just one place, so it's
- hard to say if it's reasonable to have permanent breakpoint with
- multiple locations or not, but it's easy to implement. */
- for (bl = b->loc; bl; bl = bl->next)
- {
- bl->permanent = 1;
- bl->inserted = 1;
- }
-}
-
/* Call this routine when stepping and nexting to enable a breakpoint
if we do a longjmp() or 'throw' in TP. FRAME is the frame which
initiated the operation. */