public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/6] : Remove XML files from gdbserver
@ 2018-01-16  9:52 Alan Hayward
  2018-01-16  9:51 ` [PATCH 1/6] : Commonise various target-descriptions.c functions Alan Hayward
                   ` (5 more replies)
  0 siblings, 6 replies; 17+ messages in thread
From: Alan Hayward @ 2018-01-16  9:52 UTC (permalink / raw)
  To: gdb-patches; +Cc: nd

This set of patches removes the need for gdbserver to ship the xml files
in the binary.

In exisiting code, gdbserver uses C code auto generated from xml files to
create target descriptions. When sending an xml description to GDB, it
creates xml containing mostly just the name of the original xml file.

With this new patch, we add common code that allows gdbserver and gdb
to turn a C target description structure into xml. This allows gdbserver
to send a full xml description.

The first patch starts by commonising all the gdb target-description code,
which is then used by gdbserver in patch two.
Patch four is the meat, which adds the target description to xml parser,
including adding a generic debug(tdesc) function.
The other three patches proceed to remove the no longer required code and
xml files.

Patches have been tested on a make check on x86 targets=all build with
target board unix native-gdbserver. In addition, patch four adds new test
cases to unit test.


Alan.

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

end of thread, other threads:[~2018-01-22 15:47 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-16  9:52 [PATCH 0/6] : Remove XML files from gdbserver Alan Hayward
2018-01-16  9:51 ` [PATCH 1/6] : Commonise various target-descriptions.c functions Alan Hayward
2018-01-16 14:18   ` Alan Hayward
2018-01-19 23:05   ` Yao Qi
2018-01-22 14:06     ` Alan Hayward
2018-01-22 15:47       ` Yao Qi
2018-01-16  9:52 ` [PATCH 2/6]: gdbserver use common tdesc functions Alan Hayward
2018-01-16  9:53 ` [PATCH 3/6] : Update dat files with arch and osabi Alan Hayward
2018-01-19 22:01   ` Yao Qi
2018-01-22 13:22     ` Alan Hayward
2018-01-22 15:28       ` Yao Qi
2018-01-16  9:55 ` [PATCH 5/6] : Remove xml file references from target descriptions Alan Hayward
2018-01-16  9:55 ` [PATCH 4/6]: Create xml " Alan Hayward
2018-01-16  9:55 ` [PATCH 6/6]: Remove xml files from gdbserver Alan Hayward
2018-01-19 22:11   ` Yao Qi
2018-01-22 13:23     ` Alan Hayward
2018-01-22 14:52       ` Yao Qi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).