From 2733d9d5d62c62023dc2d7a93fa5afa22f386ffd Mon Sep 17 00:00:00 2001 From: Markus Metzger Date: Tue, 15 Mar 2022 18:08:06 +0100 Subject: gdb, gdbserver: extend RSP to support namespaces Introduce a new qXfer:libraries-svr4:read annex key/value pair lmid= 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. --- gdb/features/library-list-svr4.dtd | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gdb/features') diff --git a/gdb/features/library-list-svr4.dtd b/gdb/features/library-list-svr4.dtd index 7d62354c34c..e869ff1349e 100644 --- a/gdb/features/library-list-svr4.dtd +++ b/gdb/features/library-list-svr4.dtd @@ -14,3 +14,7 @@ + + -- cgit v1.2.1