]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Add note about entering commands while target is
authorNick Roberts <nickrob@snap.net.nz>
Mon, 25 Sep 2006 05:39:52 +0000 (05:39 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Mon, 25 Sep 2006 05:39:52 +0000 (05:39 +0000)
running.

gdb/README.async

index bd8bfae8643b8c90385e94083ca05b029a885c92..944917d909267bae528e3659f572269300efb742 100644 (file)
@@ -44,6 +44,18 @@ n
 (actually it generates an extra &"n\n" and ^done but with 
 "-interpreter-exec console" it's identical.
 
+To enter a GDB command while the target is running GDB needs a separate
+terminal to the inferior.  Currently only a few CLI commands can be entered
+e.g pwd see top.c.  Most CLI commands report:
+
+  Cannot execute this command while the target is running.
+
+and all MI commands apart from -exec-interrupt (see mi-main.c) report:
+
+  Cannot execute command interpreter-exec while target running
+
+but this can easily be changed.
+
 To help integration with HEAD I've re-instated the --async option so that
 --noasync (the default) *should* run as on the trunk.