This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFH] Cygwin (EXEEXT) fix.
- From: Daniel Jacobowitz <drow at false dot org>
- To: Pedro Alves <pedro_alves at portugalmail dot pt>
- Cc: gdb-patches at sourceware dot org
- Date: Sun, 10 Dec 2006 10:56:02 -0500
- Subject: Re: [RFH] Cygwin (EXEEXT) fix.
- References: <457C1BBA.8020802@portugalmail.pt>
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