From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28115 invoked by alias); 8 Apr 2005 12:58:03 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 26942 invoked from network); 8 Apr 2005 12:57:42 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 8 Apr 2005 12:57:42 -0000 Received: from drow by nevyn.them.org with local (Exim 4.50 #1 (Debian)) id 1DJt3O-0008Ie-3J for ; Fri, 08 Apr 2005 08:57:42 -0400 Date: Fri, 08 Apr 2005 12:58:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: Re: RFC: Gdbserver unit testing Message-ID: <20050408125741.GB32446@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com References: <20050327030054.GA10766@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050327030054.GA10766@nevyn.them.org> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-04/txt/msg00069.txt.bz2 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 > > * 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