From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13030 invoked by alias); 4 Sep 2004 03:53:55 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 13022 invoked from network); 4 Sep 2004 03:53:54 -0000 Received: from unknown (HELO hall.mail.mindspring.net) (207.69.200.60) by sourceware.org with SMTP; 4 Sep 2004 03:53:54 -0000 Received: from user-119a90a.biz.mindspring.com ([66.149.36.10] helo=berman.michael-chastain.com) by hall.mail.mindspring.net with esmtp (Exim 3.33 #1) id 1C3Rcf-0007mW-00; Fri, 03 Sep 2004 23:53:53 -0400 Received: from mindspring.com (localhost [127.0.0.1]) by berman.michael-chastain.com (Postfix) with SMTP id 3C2FA4B102; Fri, 3 Sep 2004 23:54:08 -0400 (EDT) Date: Sat, 04 Sep 2004 03:53:00 -0000 From: Michael Chastain To: gdb@sources.redhat.com, cagney@gnu.org Subject: Re: strange tcl dejagnu error Message-ID: <41393C5F.nailE8A11EKZ5@mindspring.com> References: <4138F6A9.30609@gnu.org> In-Reply-To: <4138F6A9.30609@gnu.org> User-Agent: nail 10.8 6/28/04 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2004-09/txt/msg00042.txt.bz2 Oh, shit. This is mine. I changed the return type of gdb_file_cmd; and I did a careful job of changing all the callers in gdb.*/*.exp and lib/*.exp, but since I test native only, I did not even think about config/*.exp. The right code is: set status [gdb_file_cmd $arg] if { [lindex $status 0] != "" } then { # gdb_file_cmd failed whatever; } See the comment at the front of gdb_file_cmd for the specification of the return value. I'll fix this tomorrow. Sorry! (And man, is there a lot of funky dead code in config/*.exp). Michael