This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[5/8] make dprintf_command static
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 12 Dec 2012 09:44:43 -0700
- Subject: [5/8] make dprintf_command static
This makes dprintf_command static.
This is one of the ones where I wonder whether some external patch
depends on this function being public.
Tom
* breakpoint.c (dprintf_command): Now static.
---
gdb/breakpoint.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 01a472c..3ef4d88 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -9823,14 +9823,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 (),
--
1.7.7.6