summaryrefslogtreecommitdiff
path: root/gdb/event-top.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2001-11-27 04:15:09 +0000
committerTom Tromey <tromey@redhat.com>2001-11-27 04:15:09 +0000
commit2f8f3b24dc3ec7b71c44f08c37f5302a1d641787 (patch)
tree344382e79cf7d8dcedd937036dca04a49e9554f3 /gdb/event-top.h
parent4b87edc5f6dc83adc348d6bd24dbe8e420404ac5 (diff)
downloadgdb-2f8f3b24dc3ec7b71c44f08c37f5302a1d641787.tar.gz
* NEWS: Updated.
* event-loop.c (start_event_loop): Call after_char_processing_hook. * event-top.h (after_char_processing_hook): Declare. * event-top.c (rl_callback_read_char_wrapper): Call after_char_processing_hook. (after_char_processing_hook): New global. * top.c (operate_saved_history): New global. (gdb_rl_operate_and_get_next): New function. (init_main): Add the operate-and-get-next defun. (gdb_rl_operate_and_get_next_completion): New function.
Diffstat (limited to 'gdb/event-top.h')
-rw-r--r--gdb/event-top.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/event-top.h b/gdb/event-top.h
index 1ae485b3b8e..24044a57bab 100644
--- a/gdb/event-top.h
+++ b/gdb/event-top.h
@@ -108,3 +108,4 @@ extern struct prompts the_prompts;
extern void (*call_readline) (void *);
extern void (*input_handler) (char *);
extern int input_fd;
+extern void (*after_char_processing_hook) (void);