This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFC: Gdbserver unit testing
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Fri, 8 Apr 2005 08:57:42 -0400
- Subject: Re: RFC: Gdbserver unit testing
- References: <20050327030054.GA10766@nevyn.them.org>
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