[PATCHv2 0/3] Additional maintenance command for dumping target descriptions
Andrew Burgess
andrew.burgess@embecosm.com
Thu Jun 11 23:22:45 GMT 2020
In the first patch of this series the only change is I addressed
Pedro's feedback.
The second patch is new, this moves the printing of <compatible>
entities into the gdbsupport/ directory, inside the print_xml_feature
class.
The third patch is the old second patch. The documentation has not
changed. The code is now simpler thanks to the new #2 patch. I
addressed Pedro's feedback including adding some extra tests.
Feedback welcome.
Thanks,
Andrew
---
Andrew Burgess (3):
gdb: Allow target description to be dumped even when it is remote
gdb: Print compatible information within print_xml_feature
gdb: New maintenance command to print XML target description
gdb/ChangeLog | 30 +++++
gdb/NEWS | 6 +
gdb/doc/ChangeLog | 5 +
gdb/doc/gdb.texinfo | 9 ++
gdb/target-descriptions.c | 109 ++++++++++++++---
gdb/testsuite/ChangeLog | 8 ++
gdb/testsuite/gdb.xml/maint-xml-dump-01.xml | 10 ++
gdb/testsuite/gdb.xml/maint-xml-dump-02.xml | 27 +++++
gdb/testsuite/gdb.xml/maint-xml-dump.exp | 124 ++++++++++++++++++++
gdb/testsuite/gdb.xml/tdesc-reload.c | 22 ++++
gdb/testsuite/gdb.xml/tdesc-reload.exp | 83 +++++++++++++
gdbserver/ChangeLog | 6 +
gdbserver/tdesc.cc | 21 ++++
gdbsupport/ChangeLog | 22 ++++
gdbsupport/tdesc.cc | 106 ++++++++++++-----
gdbsupport/tdesc.h | 44 ++++++-
16 files changed, 587 insertions(+), 45 deletions(-)
create mode 100644 gdb/testsuite/gdb.xml/maint-xml-dump-01.xml
create mode 100644 gdb/testsuite/gdb.xml/maint-xml-dump-02.xml
create mode 100644 gdb/testsuite/gdb.xml/maint-xml-dump.exp
create mode 100644 gdb/testsuite/gdb.xml/tdesc-reload.c
create mode 100644 gdb/testsuite/gdb.xml/tdesc-reload.exp
--
2.25.4
More information about the Gdb-patches
mailing list