RFA: if/while commands in user-defined command behave differently
Michael Chastain
mec.gnu@mindspring.com
Thu Sep 9 14:34:00 GMT 2004
send_gdb / gdb_expect are old; can you can upgrade this to the modern
interface, gdb_test_multiple? With gdb_test_multiple you don't need
the default "$gdb_prompt $" and timeout clauses.
The idea is good; it just needs gdb_test_multiple. Just do that and
re-test and re-submit.
Michael
===
[gdb/testsuite/ChangeLog]
2004-09-08 Jason Molenda (jmolenda@apple.com)
* gdb.base/define.exp: Two new tests to verify zero space chars
after 'if' and 'while' commands in a user-defined command is correctly
parsed.
More information about the Gdb-patches
mailing list