From patchwork Wed Feb 11 06:10:14 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Evans X-Patchwork-Id: 5032 Received: (qmail 12233 invoked by alias); 11 Feb 2015 06:11:03 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 12222 invoked by uid 89); 11 Feb 2015 06:11:03 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.5 required=5.0 tests=AWL, BAYES_00, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, KAM_FROM_URIBL_PCCC, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-pa0-f51.google.com Received: from mail-pa0-f51.google.com (HELO mail-pa0-f51.google.com) (209.85.220.51) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 11 Feb 2015 06:11:02 +0000 Received: by mail-pa0-f51.google.com with SMTP id eu11so1849355pac.10 for ; Tue, 10 Feb 2015 22:11:00 -0800 (PST) X-Received: by 10.68.69.111 with SMTP id d15mr33227527pbu.90.1423635060439; Tue, 10 Feb 2015 22:11:00 -0800 (PST) Received: from seba.sebabeach.org.gmail.com (173-13-178-53-sfba.hfc.comcastbusiness.net. [173.13.178.53]) by mx.google.com with ESMTPSA id fu14sm21287507pad.44.2015.02.10.22.10.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Feb 2015 22:10:59 -0800 (PST) From: Doug Evans To: gdb-patches@sourceware.org Subject: [COMMITTED PATCH] lib/gdb.exp (gdb_load): Always return a result. Date: Tue, 10 Feb 2015 22:10:14 -0800 Message-ID: MIME-Version: 1.0 X-IsSubscribed: yes Hi. Committed as obvious. 2015-02-10 Doug Evans * lib/gdb.exp (gdb_load): Always return a result. diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index a6f200f..bbc657c 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -3701,12 +3701,14 @@ proc gdb_load_shlibs { args } { # # gdb_load -- load a file into the debugger. Specifying no file # defaults to the executable currently being debugged. +# The return value is 0 for success, -1 for failure. # Many files in config/*.exp override this procedure. # proc gdb_load { arg } { if { $arg != "" } { return [gdb_file_cmd $arg] } + return 0 } # gdb_reload -- load a file into the target. Called before "running",