aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-12-18 19:27:00 +0000
committerTom Tromey <tromey@redhat.com>2012-12-18 19:27:00 +0000
commitda821c7be24b8520dd25190156f860afb33d9cc5 (patch)
tree452317955ed69979c41ebd1e35361bf4fe770219 /gdb
parentca7b0bbcfaa938faffc6cfe2ece880b5d0fecdf2 (diff)
downloadgdb-da821c7be24b8520dd25190156f860afb33d9cc5.zip
gdb-da821c7be24b8520dd25190156f860afb33d9cc5.tar.gz
gdb-da821c7be24b8520dd25190156f860afb33d9cc5.tar.bz2
* breakpoint.c (dprintf_command): Now static.
Diffstat (limited to 'gdb')
-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 (),