From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16461 invoked by alias); 24 Jul 2006 13:46:34 -0000 Received: (qmail 16453 invoked by uid 22791); 24 Jul 2006 13:46:34 -0000 X-Spam-Check-By: sourceware.org Received: from potter.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 24 Jul 2006 13:46:32 +0000 Received: (qmail 10468 invoked from network); 24 Jul 2006 13:46:29 -0000 Received: from unknown (HELO ?192.168.189.145?) (nathan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 24 Jul 2006 13:46:29 -0000 Message-ID: <44C4CF41.9030609@codesourcery.com> Date: Mon, 24 Jul 2006 13:46:00 -0000 From: Nathan Sidwell User-Agent: Thunderbird 1.5.0.4 (X11/20060615) MIME-Version: 1.0 To: gdb-patches@sourceware.org CC: Daniel Jacobowitz Subject: tweak a couple of tests Content-Type: multipart/mixed; boundary="------------040504060901090709060005" 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-07/txt/msg00331.txt.bz2 This is a multi-part message in MIME format. --------------040504060901090709060005 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 388 Dan, here's an update to a couple of my testsuite patches that weren't quite right. As advised I check istarget for the auxv test. For the cursal test I'm using gdb_file_cmd as you suggested. ok? tested on m68k-elf. nathan -- Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk --------------040504060901090709060005 Content-Type: text/plain; name="all.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="all.diff" Content-length: 1800 2006-07-24 Nathan Sidwell * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets. * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load. Index: gdb.base/auxv.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.base/auxv.exp,v retrieving revision 1.5 diff -c -3 -p -r1.5 auxv.exp *** gdb.base/auxv.exp 22 Jun 2006 19:32:41 -0000 1.5 --- gdb.base/auxv.exp 24 Jul 2006 13:34:45 -0000 *************** *** 23,28 **** --- 23,33 ---- # This file is based on corefile.exp which was written by Fred # Fish. (fnf@cygnus.com) + if { ! [istarget "*-*-linux*"] && ! [istarget "*-*-solaris*"] } { + verbose "Skipping auxv.exp because of lack of support." + return + } + if $tracelevel then { strace $tracelevel } Index: gdb.base/cursal.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.base/cursal.exp,v retrieving revision 1.1 diff -c -3 -p -r1.1 cursal.exp *** gdb.base/cursal.exp 5 Nov 2004 08:52:28 -0000 1.1 --- gdb.base/cursal.exp 24 Jul 2006 13:34:45 -0000 *************** if {[gdb_compile "${srcdir}/${subdir}/${ *** 34,41 **** gdb_exit gdb_start gdb_reinitialize_dir $srcdir/$subdir ! gdb_load ${binfile} ! gdb_test "set listsize 1" \ ".*" --- 34,40 ---- gdb_exit gdb_start gdb_reinitialize_dir $srcdir/$subdir ! gdb_file_cmd ${binfile} gdb_test "set listsize 1" \ ".*" *************** gdb_test "set listsize 1" \ *** 43,49 **** gdb_test "list" \ "v0 = 0;" \ "list before run" ! if {! [runto_main]} { return -1 } --- 42,48 ---- gdb_test "list" \ "v0 = 0;" \ "list before run" ! gdb_load if {! [runto_main]} { return -1 } --------------040504060901090709060005--