gdbserver server testing docs, and mention --disable-packet in gdbserver/README,
Pedro Alves
pedro@codesourcery.com
Fri Jun 27 16:41:00 GMT 2008
Hi,
--disable-packet was just added to gdbserver. This is a developer
only feature, to emulate testing against stubs that don't support
optional features. A complement to disabling packets on the GDB side.
Since it isn't a switch intended for the user to use, it's not reported
with gdbserver --help. This makes it described nowhere but the code, and
as we, know, an undocumented feature, si almost as good as no feature, so,
I wanted to add a small blurb about it somewhere. gdbserver's README
file seemed like a good place, if you already know what you're looking
for. The internal manual in the testing section looks like the right
place to put testing related documentation. Then, I figured that
we might as well describe how to do a testsuite run against a local
GDBserver. But, by doing that, I'd have to either inline a board file
in the manual, point at the wiki page containing it, or import the
board file into the code base. I chose the later. What do you think
about it? Daniel, I think this is your board file. If you're
willing to put it in the sources, shall it have a license/copyright
notice?
What do you think about it? And what about the rest of the patch?
Is it useful to have?
--
Pedro Alves
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdbserver_testing.diff
Type: text/x-diff
Size: 4857 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20080627/7b906c18/attachment.bin>
More information about the Gdb-patches
mailing list