From: Steve Chamberlain Date: Mon, 7 Aug 1995 22:42:19 +0000 (+0000) Subject: * top.c (target_output_hook): New definition. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=764efb58e9a436ceb69ab7228b9d867534d43e9a;p=binutils-gdb.git * top.c (target_output_hook): New definition. --- 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,