From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10425 invoked by alias); 27 Nov 2004 13:09:49 -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 10383 invoked from network); 27 Nov 2004 13:09:44 -0000 Received: from unknown (HELO cmailg1.svr.pol.co.uk) (195.92.195.171) by sourceware.org with SMTP; 27 Nov 2004 13:09:44 -0000 Received: from modem-64.gold-spangled.dialup.pol.co.uk ([62.137.18.64] helo=merlin.buzzard.freeserve.co.uk) by cmailg1.svr.pol.co.uk with esmtp (Exim 4.14) id 1CY2KZ-000500-S5; Sat, 27 Nov 2004 13:09:43 +0000 Received: from merlin (localhost [127.0.0.1]) by merlin.buzzard.freeserve.co.uk (8.12.11/8.12.11) with ESMTP id iARD32Ie003284; Sat, 27 Nov 2004 13:03:02 GMT Message-Id: <200411271303.iARD32Ie003284@merlin.buzzard.freeserve.co.uk> To: gdb-patches@sources.redhat.com cc: Richard.Earnshaw@buzzard.freeserve.co.uk, Michael Chastain From: Richard Earnshaw Subject: [PATCH] testsuite/config/sim.exp:gdb_load fix return values Mime-Version: 1.0 Content-Type: multipart/mixed ; boundary="==_Exmh_20031938840" Date: Sat, 27 Nov 2004 13:09:00 -0000 X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on merlin.buzzard.freeserve.co.uk X-SW-Source: 2004-11/txt/msg00480.txt.bz2 This is a multipart MIME message. --==_Exmh_20031938840 Content-Type: text/plain; charset=us-ascii Content-length: 257 This patch fixes the return values of the gdb_load implementation in sim.exp. With this patch the testsuite is begining to look somewhat more sane again for an arm-elf cross. OK? * config/sim.exp (gdb_load): Return 0 on success, -1 on failure. R. --==_Exmh_20031938840 Content-Type: text/x-patch ; name="sim.patch"; charset=us-ascii Content-Description: sim.patch Content-Disposition: attachment; filename="sim.patch" Content-length: 769 Index: sim.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/config/sim.exp,v retrieving revision 1.2 diff -p -p -r1.2 sim.exp *** sim.exp 8 Feb 2004 03:56:14 -0000 1.2 --- sim.exp 27 Nov 2004 12:59:44 -0000 *************** proc gdb_load { arg } { *** 71,77 **** } set timeout 30 verbose "Timeout is now $timeout seconds" 2 ! return 1 } -re "$gdb_prompt $" { if $verbose>1 then { --- 71,77 ---- } set timeout 30 verbose "Timeout is now $timeout seconds" 2 ! return 0 } -re "$gdb_prompt $" { if $verbose>1 then { *************** proc gdb_load { arg } { *** 84,87 **** --- 84,88 ---- } } } + return -1 } --==_Exmh_20031938840--