From 764efb58e9a436ceb69ab7228b9d867534d43e9a Mon Sep 17 00:00:00 2001 From: Steve Chamberlain Date: Mon, 7 Aug 1995 22:42:19 +0000 Subject: [PATCH] * top.c (target_output_hook): New definition. --- gdb/ChangeLog | 1 + gdb/top.c | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a20f06e499e..0ee9623418a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,6 @@ Mon Aug 7 15:34:29 1995 steve chamberlain + * 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 8fb6eb96be6..57e53e6055f 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, -- 2.30.2