This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: if/while commands in user-defined command behave differently
- From: Michael Chastain <mec dot gnu at mindspring dot com>
- To: jmolenda at apple dot com, gdb-patches at sources dot redhat dot com
- Cc: cagney at gnu dot org
- Date: Thu, 09 Sep 2004 10:34:32 -0400
- Subject: Re: RFA: if/while commands in user-defined command behave differently
- References: <76449857-01CD-11D9-9838-000A9569836A@apple.com>
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.