This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: RFA: tolerate code motion
Kevin Buettner wrote:
> In order to relax your test so that it'll work for this case, we need to
> remove the part about $srcfile. I.e, change the regular expression line to
>
> -re "Starting program.*Breakpoint \[0-9\]+,.*main .*argc.*argv.* at.*$gdb_prompt $"\
>
> (Untested, but I think it'll work.)
I think that sounds reasonable.
It certainly proves that we arrived in main.