[5/8] make dprintf_command static

Tom Tromey tromey@redhat.com
Wed Dec 12 16:44:00 GMT 2012


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



More information about the Gdb-patches mailing list