From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2959 invoked by alias); 23 Sep 2006 16:55:32 -0000 Received: (qmail 2951 invoked by uid 22791); 23 Sep 2006 16:55:32 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 23 Sep 2006 16:55:29 +0000 Received: from elgar.sibelius.xs4all.nl (root@elgar.sibelius.xs4all.nl [192.168.0.2]) by sibelius.xs4all.nl (8.13.4/8.13.4) with ESMTP id k8NGtIGn014098; Sat, 23 Sep 2006 18:55:18 +0200 (CEST) Received: from elgar.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.13.8/8.13.6) with ESMTP id k8NGtHrq009954; Sat, 23 Sep 2006 18:55:17 +0200 (CEST) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.13.8/8.13.8/Submit) id k8NGtHi0020908; Sat, 23 Sep 2006 18:55:17 +0200 (CEST) Date: Sat, 23 Sep 2006 16:55:00 -0000 Message-Id: <200609231655.k8NGtHi0020908@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: ghost@cs.msu.su CC: gdb-patches@sources.redhat.com In-reply-to: (message from Vladimir Prus on Sat, 16 Sep 2006 15:19:22 +0400) Subject: Re: Extra diagnostic for tests References: <200609131352.16082.vladimir@codesourcery.com> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-09/txt/msg00160.txt.bz2 > From: Vladimir Prus > Date: Sat, 16 Sep 2006 15:19:22 +0400 > > Vladimir Prus wrote: > > > > > Hi, > > at the moment, the dejagnu tests use PATH to find the gdb binary, and > > don't report which gdb binary is used. As result, when running runtest > > manually on one test, one can test with different gdb from the one used by > > 'make check'. > > > > The attached patch makes gdb print to log file the location of gdb, and > > also makes sure invocation parameters are always printed to log file. > > While we're on it, the 'serialport' parameter to 'target' command is also > > reported. > > So, what's opinion on this patch, after all? I think it is unnecessary, since... > Speaking of gdb PATH, I've noticed that the very last line of dejagnu output > contains the full path to gdb -- apparently I used 'Ctrl-C' too much. > > Anyway, I think getting this information into log file is still desirable, > and it makes sure that .log file is sufficient to reproduce a test > failures -- console output might be no longer handy. It is printed at the end of the run, both in gdb.sum and gdb.log. Mark