[rfc] Cleanup restore.exp
Andrew Cagney
cagney@gnu.org
Fri Jul 16 20:53:00 GMT 2004
>>comments?
>
>
> Did you test it?
My usual - GNU/Linux amd64.
> In the copyright years, this file was also edited in 2001 and 2002.
M'kay.
> # Continue to the next caller function.
> - gdb_test "continue" ".*/\\* caller$c \\*/" "run to caller$c"
> + gdb_test "continue" " caller$c .*" "run to caller$c"
>
> This makes the search pattern little bit less specific,
> but that's okay. There are only two " caller$c " in the test
> program and it's unlikely we would get a false negative by hitting
> the wrong one.
How about I change it to " caller$c prologue .*" with a corresponding
tweak to restore.c? That way there's no confusion.
Andrew
> Michael C
>
> 2004-07-16 Andrew Cagney <cagney@gnu.org>
>
> * gdb.base/restore.exp: Update copyright, re-indent.
> (restore_tests): Use gdb_test_multiple. Add "calleeN calls
> callerN" prefix where needed. Simplify patterns.
>
More information about the Gdb-patches
mailing list