From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2408 invoked by alias); 10 Dec 2006 15:56:15 -0000 Received: (qmail 2400 invoked by uid 22791); 10 Dec 2006 15:56:14 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Sun, 10 Dec 2006 15:56:05 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1GtR22-0005qh-Ud; Sun, 10 Dec 2006 10:56:03 -0500 Date: Sun, 10 Dec 2006 15:56:00 -0000 From: Daniel Jacobowitz To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: [RFH] Cygwin (EXEEXT) fix. Message-ID: <20061210155602.GA22340@nevyn.them.org> Mail-Followup-To: Pedro Alves , gdb-patches@sourceware.org References: <457C1BBA.8020802@portugalmail.pt> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <457C1BBA.8020802@portugalmail.pt> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-12/txt/msg00151.txt.bz2 On Sun, Dec 10, 2006 at 02:37:46PM +0000, Pedro Alves wrote: > gdb_expect_list "run until main breakpoint" "$gdb_prompt$" { > "\r\n\032\032post-prompt\r\n" This is a TCL list. { } are quotes, like ' ' in the shell, which prevent expansion. Try changing it to [list "..." "..."], but you'll need to check the quoting in every element and add backslashes at the end of every line. Or, you can just add (|\.exe) instead of $EXEEXT... much simpler. -- Daniel Jacobowitz CodeSourcery