This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/6] : Remove XML files from gdbserver


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]