]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/top.h
Make command line editing (use of readline) be per UI
[thirdparty/binutils-gdb.git] / gdb / top.h
index 905ad7b33178cbf5a3114a3f10906d7f61f262ac..11825b0973808c9aa275cebd35fa3b5f93734043 100644 (file)
--- a/gdb/top.h
+++ b/gdb/top.h
@@ -55,6 +55,11 @@ struct ui
      processing.  */
   void (*input_handler) (char *);
 
+  /* True if this UI is using the readline library for command
+     editing; false if using GDB's own simple readline emulation, with
+     no editing support.  */
+  int command_editing;
+
   /* Each UI has its own independent set of interpreters.  */
   struct ui_interp_info *interp_info;