aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorHui Zhu <teawater@gmail.com>2013-01-08 02:00:34 +0000
committerHui Zhu <teawater@gmail.com>2013-01-08 02:00:34 +0000
commit03cdf6804af11d57e8c331d51fcf72ccf25819ed (patch)
treea750bb86422c2171136d30cb1fde540faa3a589c /gdb
parentb85fba34f7ad48985bc62df740f124437a5ef70b (diff)
downloadgdb-03cdf6804af11d57e8c331d51fcf72ccf25819ed.zip
gdb-03cdf6804af11d57e8c331d51fcf72ccf25819ed.tar.gz
gdb-03cdf6804af11d57e8c331d51fcf72ccf25819ed.tar.bz2
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/printcmd.c2
-rw-r--r--gdb/tracepoint.c5
-rw-r--r--gdb/valprint.h2
4 files changed, 8 insertions, 7 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 17caa3c..8ba8772 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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):
diff --git a/gdb/printcmd.c b/gdb/printcmd.c
index 3d891cd..0c7eb1e 100644
--- a/gdb/printcmd.c
+++ b/gdb/printcmd.c
@@ -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. */
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c
index 53a4988..be45cb4 100644
--- a/gdb/tracepoint.c
+++ b/gdb/tracepoint.c
@@ -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:
diff --git a/gdb/valprint.h b/gdb/valprint.h
index ae28803..1aa5a19 100644
--- a/gdb/valprint.h
+++ b/gdb/valprint.h
@@ -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