aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/breakpoint.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 02dc944..5e93186 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2012-12-12 Tom Tromey <tromey@redhat.com>
+ * breakpoint.c (dprintf_command): Now static.
+
+2012-12-12 Tom Tromey <tromey@redhat.com>
+
* Makefile.in (init.c): Declare initialize_all_files;
don't include call-cmds.h.
* call-cmds.h: Remove.
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index c2ce96c..40cceee 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -9859,14 +9859,12 @@ stopat_command (char *arg, int from_tty)
break_command_1 (arg, 0, from_tty);
}
-void dprintf_command (char *arg, int from_tty);
-
/* The dynamic printf command is mostly like a regular breakpoint, but
with a prewired command list consisting of a single output command,
built from extra arguments supplied on the dprintf command
line. */
-void
+static void
dprintf_command (char *arg, int from_tty)
{
create_breakpoint (get_current_arch (),