RFC: Gdbserver unit testing
Daniel Jacobowitz
drow@false.org
Fri Apr 8 12:58:00 GMT 2005
On Sat, Mar 26, 2005 at 10:00:54PM -0500, Daniel Jacobowitz wrote:
> Something Andrew suggested to me a long time ago. This patch refactors the
> gdbserver testsuite support routines so that they can be used concurrently
> with a native test. If gdbserver has been built, it will be tested. If it
> hasn't, the tests will be quietly skipped. How's it look? The only test
> using the machinery is trivial; it verifies that gdbserver starts, and that
> we can connect to it, and run to a breakpoint.
>
> Eli, this creates gdb.gdbserver/ next to gdb.gdb/; what does this mean for
> fnchange.lst? Do I need to find a different name for the directory?
It means everything in it gets fnchange.lst entries; there is an
example for gdb.gdbtk already.
> 2005-03-26 Daniel Jacobowitz <dan@codesourcery.com>
>
> * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
> * configure.ac: Create gdb.gdbserver/Makefile.
> * lib/gdbserver-support.exp: New file, derived from
> config/gdbserver.exp.
> * config/gdbserver.exp: Use gdbserver-support.exp.
> * gdb.gdbserver/Makefile.in: New file.
> * gdb.gdbserver/server.c: New file.
> * gdb.gdbserver/server-run.exp: New file.
Checked in now. Please let me know if it misbehaves.
--
Daniel Jacobowitz
CodeSourcery, LLC
More information about the Gdb-patches
mailing list