This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFH] Cygwin (EXEEXT) fix.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]