aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
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')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/breakpoint.c6
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7634ce2..a406d57 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2009-07-07 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * breakpoint.c (set_raw_breakpoint): Remove static modifier.
+
2009-07-07 Tom Tromey <tromey@redhat.com>
* c-lang.c (convert_octal): Only allow 3 octal digits.
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)
{