Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 0/3] Add some linker namespaces conveniences
@ 2025-04-07 14:54 Guinevere Larsen
  2025-04-07 14:54 ` [PATCH 1/3] gdb: add convenience variables around linker namespace debugging Guinevere Larsen
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Guinevere Larsen @ 2025-04-07 14:54 UTC (permalink / raw)
  To: gdb-patches; +Cc: Guinevere Larsen

This series is a second step in improving the User Experience of
debugging inferiors with multiple namespaces. It adds 2 things to make
it more convenient for users to understand what the inferior is doing.

The first patch adds convenience variables, specifically _active_namespaces
and _current_namespaces. These can be used to track where in the execution
of an inferior the user is, and could be used in breakpoint conditions
to stop at a specific namespace.

The third patch adds a new command, "info namespaces", to help the user
check what solibs are loaded, and where. To make the patch more
readable, the second patch is a minor refactor of the command "info
sharedlibrary".

Guinevere Larsen (3):
  gdb: add convenience variables around linker namespace debugging
  gdb: factor out printing a table of solibs for info sharedlibrary
  GDB: Introduce "info namespaces" command

 gdb/NEWS                                     |  10 +
 gdb/doc/gdb.texinfo                          |  27 ++
 gdb/solib-svr4.c                             |  55 ++++
 gdb/solib.c                                  | 264 ++++++++++++++-----
 gdb/solist.h                                 |   4 +
 gdb/testsuite/gdb.base/default.exp           |   2 +
 gdb/testsuite/gdb.base/dlmopen-ns-ids-main.c |   6 +
 gdb/testsuite/gdb.base/dlmopen-ns-ids.exp    | 148 +++++++++++
 8 files changed, 456 insertions(+), 60 deletions(-)


base-commit: 29bff2380e4bb9f5637efbdc46520ba2b01f04e3
-- 
2.49.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-04-09 20:21 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-07 14:54 [PATCH 0/3] Add some linker namespaces conveniences Guinevere Larsen
2025-04-07 14:54 ` [PATCH 1/3] gdb: add convenience variables around linker namespace debugging Guinevere Larsen
2025-04-07 15:39   ` Eli Zaretskii
2025-04-07 17:10     ` Guinevere Larsen
2025-04-07 14:54 ` [PATCH 2/3] gdb: factor out printing a table of solibs for info sharedlibrary Guinevere Larsen
2025-04-07 14:54 ` [PATCH 3/3] GDB: Introduce "info namespaces" command Guinevere Larsen
2025-04-07 15:45   ` Eli Zaretskii
2025-04-07 17:04     ` Guinevere Larsen
2025-04-07 18:08 ` [PATCH 0/3] Add some linker namespaces conveniences Kevin Buettner
2025-04-09 20:20   ` Guinevere Larsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox