aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2009-07-07 22:21:09 +0000
committerPierre Muller <muller@sourceware.org>2009-07-07 22:21:09 +0000
commit63c252f8d0859d23c8dd7183db32174ede9da60c (patch)
tree10e9989737732e41c8b39d582cf54afffb8dff58 /gdb/breakpoint.c
parent30b66ecc739234c58f8f1aca25a8c068b09f9cc8 (diff)
downloadgdb-63c252f8d0859d23c8dd7183db32174ede9da60c.zip
gdb-63c252f8d0859d23c8dd7183db32174ede9da60c.tar.gz
gdb-63c252f8d0859d23c8dd7183db32174ede9da60c.tar.bz2
* breakpoint.c (set_raw_breakpoint): Remove static modifier.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index cbcc7df..3a18c8f 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -105,7 +105,8 @@ static void break_command_1 (char *, int, int);
static void mention (struct breakpoint *);
-static struct breakpoint *set_raw_breakpoint (struct gdbarch *gdbarch,
+/* This function is used in gdbtk sources and thus can not be made static. */
+struct breakpoint *set_raw_breakpoint (struct gdbarch *gdbarch,
struct symtab_and_line,
enum bptype);
@@ -4396,6 +4397,7 @@ static void free_bp_location (struct bp_location *loc)
/* Helper to set_raw_breakpoint below. Creates a breakpoint
that has type BPTYPE and has no locations as yet. */
+/* This function is used in gdbtk sources and thus can not be made static. */
static struct breakpoint *
set_raw_breakpoint_without_location (struct gdbarch *gdbarch,
@@ -4480,7 +4482,7 @@ get_sal_arch (struct symtab_and_line sal)
prior to completing the initialization of the breakpoint. If this
should happen, a bogus breakpoint will be left on the chain. */
-static struct breakpoint *
+struct breakpoint *
set_raw_breakpoint (struct gdbarch *gdbarch,
struct symtab_and_line sal, enum bptype bptype)
{