diff options
author | Pedro Alves <palves@redhat.com> | 2016-03-09 18:24:59 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2016-03-09 18:24:59 +0000 |
commit | 8a243832540cb3bd246192db1f0a4dfa44d92dcf (patch) | |
tree | 12ae55a11264e00c4185d1a0acd2f4f1e1f1dd49 /gdb/top.c | |
parent | c32e87066a216dbcd9daa36100975a5ecb471bb9 (diff) | |
download | gdb-8a243832540cb3bd246192db1f0a4dfa44d92dcf.zip gdb-8a243832540cb3bd246192db1f0a4dfa44d92dcf.tar.gz gdb-8a243832540cb3bd246192db1f0a4dfa44d92dcf.tar.bz2 |
Garbage collect window_hook
I checked, and Insight doesn't set this.
gdb/ChangeLog:
2016-03-09 Pedro Alves <palves@redhat.com>
* top.c (window_hook): Delete.
(command_loop): Remove references to window_hook.
Diffstat (limited to 'gdb/top.c')
-rw-r--r-- | gdb/top.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -124,12 +124,6 @@ char *current_directory; /* The directory name is actually stored here (usually). */ char gdb_dirbuf[1024]; -/* Function to call before reading a command, if nonzero. - The function receives two args: an input stream, - and a prompt string. */ - -void (*window_hook) (FILE *, char *); - /* Buffer used for reading command lines, and the size allocated for it so far. */ @@ -545,9 +539,6 @@ command_loop (void) while (instream && !feof (instream)) { - if (window_hook && instream == stdin) - (*window_hook) (instream, get_prompt ()); - clear_quit_flag (); if (instream == stdin) reinitialize_more_filter (); |