From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 621 invoked by alias); 19 Sep 2012 15:06:43 -0000 Received: (qmail 613 invoked by uid 22791); 19 Sep 2012 15:06:42 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,SPF_FAIL,TW_RW,TW_WX X-Spam-Check-By: sourceware.org Received: from gbenson.demon.co.uk (HELO gbenson.demon.co.uk) (80.177.220.214) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 19 Sep 2012 15:06:24 +0000 Date: Wed, 19 Sep 2012 15:06:00 -0000 From: Gary Benson To: Jan Kratochvil Cc: gdb-patches@sourceware.org Subject: Re: [RFA 4/4 take 2] Improved linker-debugger interface Message-ID: <20120919150622.GA7647@redhat.com> Mail-Followup-To: Jan Kratochvil , gdb-patches@sourceware.org References: <20120719110518.GE16185@redhat.com> <20120815172346.GA5696@host2.jankratochvil.net> <20120919094933.GA3023@redhat.com> <20120919111422.GA17988@host2.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120919111422.GA17988@host2.jankratochvil.net> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-09/txt/msg00394.txt.bz2 Jan Kratochvil wrote: > On Wed, 19 Sep 2012 11:49:34 +0200, Gary Benson wrote: > > How do I configure/build/test gdb so that it is using linux-low.c? > > I've updated the tests to work with gdbserver, but with my current > > setup solib-svr4.c is being used, so all the tests are passing. > > it is enough to use gdbserver: > http://sourceware.org/gdb/wiki/TestingGDB#Testing_gdbserver_in_a_native_configuration > Ah, that's what I did: molly:[src]$ echo $DEJAGNU /home/gary/work/gdb/dejagnu/my-dejagnu.exp molly:[src]$ ls -lR /home/gary/work/gdb/dejagnu /home/gary/work/gdb/dejagnu: total 4 drwxr-xr-x. 2 gary gary 4096 Sep 18 11:16 boards/ -rw-r--r--. 1 gary gary 0 Sep 18 11:16 my-dejagnu.exp /home/gary/work/gdb/dejagnu/boards: total 4 -rw-r--r--. 1 gary gary 2673 Sep 18 11:16 native-gdbserver.exp molly:[src]$ make -C../build check RUNTESTFLAGS="--target_board=native-gdbserver gdb.base/break-probes.exp gdb.base/break-dlmopen.exp gdb.base/info-shared.exp" > I have put there a debug dump and for example for gdb.base/return.exp > it really prints several SVR4:PASS and no SVR4:FAIL. With that I get a load of SVR4:FAIL and no SVR4:PASS. I also see "warning: Can not parse XML target description; XML support was disabled at compile time", is that something to do with it? Is there some -devel package I'm missing? Thanks, Gary -- http://gbenson.net/