This is the mail archive of the gdb-patches@sources.redhat.com 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: RFA: if/while commands in user-defined command behave differently


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.


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