[DOC] Document support for running interpreters on separate UIs
[deliverable/binutils-gdb.git] / gdb / NEWS
index 340a751a7e6b3f4f029c6d59ea110d11d56c3bcb..3823f20cbb1cf5102db9766a626bbfdc7b640d97 100644 (file)
--- a/gdb/NEWS
+++ b/gdb/NEWS
   language.  See https://www.rust-lang.org/ for more information about
   Rust.
 
+* Support for running interpreters on specified input/output devices
+
+  GDB now supports a new mechanism that allows frontends to provide
+  fully featured GDB console views, as a better alternative to
+  building such views on top of the "-interpreter-exec console"
+  command.  See the new "new-ui" command below.  With that command,
+  frontends can now start GDB in the traditional command-line mode
+  running in an embedded terminal emulator widget, and create a
+  separate MI interpreter running on a specified i/o device.  In this
+  way, GDB handles line editing, history, tab completion, etc. in the
+  console all by itself, and the GUI uses the separate MI interpreter
+  for its own control and synchronization, invisible to the command
+  line.
+
 * New commands
 
 skip -file file
@@ -62,6 +76,10 @@ maint info line-table REGEXP
 maint selftest
   Run any GDB unit tests that were compiled in.
 
+new-ui INTERP TTY
+  Start a new user interface instance running INTERP as interpreter,
+  using the TTY file for input/output.
+
 * Support for tracepoints and fast tracepoints on s390-linux and s390x-linux
   was added in GDBserver, including JIT compiling fast tracepoint's
   conditional expression bytecode into native code.
This page took 0.025389 seconds and 4 git commands to generate.