From: Pierre Muller Date: Tue, 7 Jul 2009 22:21:09 +0000 (+0000) Subject: * breakpoint.c (set_raw_breakpoint): Remove static modifier. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=63c252f8d0859d23c8dd7183db32174ede9da60c;p=binutils-gdb.git * breakpoint.c (set_raw_breakpoint): Remove static modifier. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7634ce28a13..a406d57a74c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2009-07-07 Pierre Muller + + * breakpoint.c (set_raw_breakpoint): Remove static modifier. + 2009-07-07 Tom Tromey * c-lang.c (convert_octal): Only allow 3 octal digits. diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index cbcc7df4377..3a18c8fd981 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) {