+2016-03-09 Pedro Alves <palves@redhat.com>
+
+ * top.c (window_hook): Delete.
+ (command_loop): Remove references to window_hook.
+
2016-03-09 Pedro Alves <palves@redhat.com>
* gdb.base/command-line-input.exp: New file.
/* 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. */
while (instream && !feof (instream))
{
- if (window_hook && instream == stdin)
- (*window_hook) (instream, get_prompt ());
-
clear_quit_flag ();
if (instream == stdin)
reinitialize_more_filter ();