aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
parentb6d70e158a92d2abfc73b71de8211db9054b5040 (diff)
downloadgdb-764efb58e9a436ceb69ab7228b9d867534d43e9a.zip
gdb-764efb58e9a436ceb69ab7228b9d867534d43e9a.tar.gz
gdb-764efb58e9a436ceb69ab7228b9d867534d43e9a.tar.bz2
* top.c (target_output_hook): New definition.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog1
-rw-r--r--gdb/top.c6
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a20f06e..0ee9623 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,6 @@
Mon Aug 7 15:34:29 1995 steve chamberlain <sac@slash.cygnus.com>
+ * top.c (target_output_hook): New definition.
* stack.c (gdb_string.h): Include after defs.h
* defs.h (target_output_hook): New declaration.
* source.c (mod_path): Fix Win32 \ handling.
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,