diff options
author | Markus Metzger <markus.t.metzger@intel.com> | 2022-03-15 18:08:06 +0100 |
---|---|---|
committer | Markus Metzger <markus.t.metzger@intel.com> | 2022-10-18 14:16:09 +0200 |
commit | 2733d9d5d62c62023dc2d7a93fa5afa22f386ffd (patch) | |
tree | 0f300db4630b2472d9187e3a89e0c0ae5dc6ca8e /gdb/features/library-list-svr4.dtd | |
parent | ad10f44e568806c2399f9405f4588f3e27f7d9ae (diff) | |
download | binutils-2733d9d5d62c62023dc2d7a93fa5afa22f386ffd.zip binutils-2733d9d5d62c62023dc2d7a93fa5afa22f386ffd.tar.gz binutils-2733d9d5d62c62023dc2d7a93fa5afa22f386ffd.tar.bz2 |
gdb, gdbserver: extend RSP to support namespaces
Introduce a new qXfer:libraries-svr4:read annex key/value pair
lmid=<namespace identifier>
to be used together with start and prev to provide the namespace of start
and prev to gdbserver.
Unknown key/value pairs are ignored by gdbserver so no new supports check
is needed.
Introduce a new library-list-svr4 library attribute
lmid
to provide the namespace of a library entry to GDB.
This implementation uses the address of a namespace's r_debug object as
namespace identifier.
This should have incremented the minor version but since unknown XML
attributes are ignored, anyway, and since changing the version results in
a warning from GDB, the version is left at 1.0.
Diffstat (limited to 'gdb/features/library-list-svr4.dtd')
-rw-r--r-- | gdb/features/library-list-svr4.dtd | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/features/library-list-svr4.dtd b/gdb/features/library-list-svr4.dtd index 7d62354..e869ff1 100644 --- a/gdb/features/library-list-svr4.dtd +++ b/gdb/features/library-list-svr4.dtd @@ -14,3 +14,7 @@ <!ATTLIST library lm CDATA #REQUIRED> <!ATTLIST library l_addr CDATA #REQUIRED> <!ATTLIST library l_ld CDATA #REQUIRED> +<!-- added lmid attribute to what should have become version 1.1 but + since this generates a warning in GDB and since unknown attributes + are ignored, anyway, leaving the version at 1.0. --> +<!ATTLIST library lmid CDATA #IMPLIED> |