diff options
author | Andrew Burgess <aburgess@redhat.com> | 2022-03-02 11:11:47 +0000 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2022-03-07 19:39:04 +0000 |
commit | 6fd90137e776c1a29f75651af8e7a129337254c7 (patch) | |
tree | cb2fa47236787daaef73d74ce4073399aace6e69 /gdb/NEWS | |
parent | d43bd54d543742c76fb20a0fe379817ccca4e5f2 (diff) | |
download | gdb-6fd90137e776c1a29f75651af8e7a129337254c7.zip gdb-6fd90137e776c1a29f75651af8e7a129337254c7.tar.gz gdb-6fd90137e776c1a29f75651af8e7a129337254c7.tar.bz2 |
gdb/mi: add --no-connection to MI -add-inferior command
Following on from the previous commit, where the -add-inferior command
now uses the same connection as the current inferior, this commit adds
a --no-connection option to -add-inferior.
This new option matches the existing option of the same name for the
CLI version of add-inferior; the new inferior is created with no
connection.
I've added a new 'connection' field to the MI output of -add-inferior,
which includes the connection number and short name. I haven't
included the longer description field, this is the MI after all. My
expectation would be that if the frontend wanted to display all the
connection details then this would be looked up from 'info
connection' (or the MI equivalent if/when such a command is added).
The existing -add-inferior tests are updated, as are the docs.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r-- | gdb/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -158,6 +158,10 @@ info win connection of the current inferior, this restores the behaviour of GDB as it was prior to GDB 10. + ** The '-add-inferior' command now accepts a '--no-connection' + option, which causes the new inferior to start without a + connection. + * New targets GNU/Linux/LoongArch loongarch*-*-linux* |