diff options
author | Pedro Alves <palves@redhat.com> | 2020-01-10 20:06:15 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2020-01-10 20:06:15 +0000 |
commit | 65c574f6dd066a239a94c2df0e1e12d50eae06c9 (patch) | |
tree | 4216b1103e38d328b4c5464d368758fef86d76d3 /gdb/NEWS | |
parent | 2f4fcf00399bc0ad5a4fed6b530128e8be4f40da (diff) | |
download | gdb-65c574f6dd066a239a94c2df0e1e12d50eae06c9.zip gdb-65c574f6dd066a239a94c2df0e1e12d50eae06c9.tar.gz gdb-65c574f6dd066a239a94c2df0e1e12d50eae06c9.tar.bz2 |
Multi-target: NEWS and user manual
This commit documents the new multi-target features in both NEWS and
user manual.
gdb/ChangeLog:
2020-01-10 Pedro Alves <palves@redhat.com>
* NEWS: Mention multi-target debugging, "info connections", and
"add-inferior -no-connection".
gdb/doc/ChangeLog:
2020-01-10 Pedro Alves <palves@redhat.com>
* gdb.texinfo (Starting): Say "current inferior not connected"
instead of "GDB not connected".
(Inferiors and Programs): Rename node to ...
(Inferiors Connections and Programs): ... this. Update all
references. Talk about multiple target connections. Update "info
inferiors" info to mention the connections column. Describe "info
connections". Document "add-inferior -no-connection".
* guile.texi, python.texi: Update cross references.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r-- | gdb/NEWS | 29 |
1 files changed, 29 insertions, 0 deletions
@@ -77,6 +77,21 @@ This feature is still in testing, so it is disabled by default. You can turn it on using 'maint set worker-threads unlimited'. +* Multi-target debugging support + + GDB now supports debugging multiple target connections + simultaneously. For example, you can now have each inferior + connected to different remote servers running in different machines, + or have one inferior debugging a local native process, an inferior + debugging a core dump, etc. + + This support is experimental and comes with some limitations -- you + can only resume multiple targets simultaneously if all targets + support non-stop mode, and all remote stubs or servers must support + the same set of remote protocol features exactly. See also "info + connections" and "add-inferior -no-connection" below, and "maint set + target-non-stop" in the user manual. + * Python API ** The gdb.Value type has a new method 'format_string' which returns a @@ -243,6 +258,9 @@ show debug remote-packet-max-chars "set debug remote". The default is 512 bytes. +info connections + Lists the target connections currently in use. + * Changed commands help @@ -287,6 +305,17 @@ show print raw-frame-arguments old commands are now deprecated and may be removed in a future release. +add-inferior [-no-connection] + The add-inferior command now supports a "-no-connection" flag that + makes the new inferior start with no target connection associated. + By default, the new inferior inherits the target connection of the + current inferior. See also "info connections". + +info inferior + This command's output now includes a new "Connection" column + indicating which target connection an inferior is bound to. See + "info connections" above. + maint test-options require-delimiter maint test-options unknown-is-error maint test-options unknown-is-operand |