tui: don't overwrite a secondary prompt that was given no input
[deliverable/binutils-gdb.git] / gdb / top.h
index 987279b69aeedaae02fbcf24b3469b6cbfed73d2..914a27288f9d8de6d1863504940bf7230e1ecd8e 100644 (file)
--- a/gdb/top.h
+++ b/gdb/top.h
@@ -65,6 +65,10 @@ extern char *get_prompt (void);
    by gdb for its command prompt.  */
 extern void set_prompt (const char *s);
 
+/* Return 1 if the current input handler is a secondary prompt, 0 otherwise.  */
+
+extern int gdb_in_secondary_prompt_p (void);
+
 /* From random places.  */
 extern int readnow_symbol_files;
 
This page took 0.025475 seconds and 4 git commands to generate.