aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,