2013-01-08 Hui Zhu <hui_zhu@mentor.com>
authorHui Zhu <teawater@gmail.com>
Tue, 8 Jan 2013 02:00:34 +0000 (02:00 +0000)
committerHui Zhu <teawater@gmail.com>
Tue, 8 Jan 2013 02:00:34 +0000 (02:00 +0000)
* printcmd.c: Remove define of function output_command.
* tracepoint.c: Remove extern of function output_command.
* valprint.h: (output_command): New extern.

gdb/ChangeLog
gdb/printcmd.c
gdb/tracepoint.c
gdb/valprint.h

index 17caa3ce7b4b0c67fbad8382892671468d7ea7f3..8ba8772c244998a9063f99380bcb1bc0b543328e 100644 (file)
@@ -1,3 +1,9 @@
+2013-01-08  Hui Zhu  <hui_zhu@mentor.com>
+
+       * printcmd.c: Remove define of function output_command.
+       * tracepoint.c: Remove extern of function output_command.
+       * valprint.h: (output_command): New extern.
+
 2013-01-07  Tom Tromey  <tromey@redhat.com>
 
        * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr):
index 3d891cd0b69d369463cf94bdf8350d24554df236..0c7eb1e3c4f2d60fa43e651498efe0b59b7f62e8 100644 (file)
@@ -172,8 +172,6 @@ static int display_number;
 
 /* Prototypes for exported functions.  */
 
-void output_command (char *, int);
-
 void _initialize_printcmd (void);
 
 /* Prototypes for local functions.  */
index 53a49880cc436760da674b2d2a195f03f1fe6d74..be45cb49d1f0ab97e19d75f3cf1dd1f0cce76e98 100644 (file)
@@ -93,11 +93,6 @@ extern void (*deprecated_readline_begin_hook) (char *, ...);
 extern char *(*deprecated_readline_hook) (char *);
 extern void (*deprecated_readline_end_hook) (void);
 
-/* GDB commands implemented in other modules:
- */  
-
-extern void output_command (char *, int);
-
 /* 
    Tracepoint.c:
 
index ae2880386dd769c274d25bf3b68db5f09127ce82..1aa5a1973b01ae931c28246ab44d316d084bc43a 100644 (file)
@@ -203,4 +203,6 @@ extern void generic_printstr (struct ui_file *stream, struct type *type,
                              int quote_char, int c_style_terminator,
                              const struct value_print_options *options);
 
+extern void output_command (char *exp, int from_tty);
+
 #endif
This page took 0.032018 seconds and 4 git commands to generate.