aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1995-08-07 22:42:19 +0000
committerSteve Chamberlain <sac@cygnus>1995-08-07 22:42:19 +0000
commit764efb58e9a436ceb69ab7228b9d867534d43e9a (patch)
tree17863954ef373a2608058e3d79bc288a278a32f3 /gdb/top.c
parentb6d70e158a92d2abfc73b71de8211db9054b5040 (diff)
downloadgdb-764efb58e9a436ceb69ab7228b9d867534d43e9a.zip
gdb-764efb58e9a436ceb69ab7228b9d867534d43e9a.tar.gz
gdb-764efb58e9a436ceb69ab7228b9d867534d43e9a.tar.bz2
* top.c (target_output_hook): New definition.
Diffstat (limited to 'gdb/top.c')
-rw-r--r--gdb/top.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/top.c b/gdb/top.c
index 8fb6eb9..57e53e6 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -373,10 +373,16 @@ void (*init_ui_hook) PARAMS ((void));
void (*command_loop_hook) PARAMS ((void));
+
/* Called instead of fputs for all output. */
void (*fputs_unfiltered_hook) PARAMS ((const char *linebuffer, FILE *stream));
+/* Called when the target says something to the host, which may
+ want to appear in a different window. */
+
+void (*target_output_hook) PARAMS ((void));
+
/* Called from print_frame_info to list the line we stopped in. */
void (*print_frame_info_listing_hook) PARAMS ((struct symtab *s, int line,