This is the mail archive of the gdb-patches@sourceware.org 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: [PATCH] gdb: tests/monitor: set remotetimeout to gdb_load_timeout for remote targets


> 	* gdb/testsuite/config/monitor.exp (gdb_load): New decimal variable.
> 	Save remotetimeout setting in oldremotetimeout.  Set remotetimeout to
> 	$loadtimeout.  Restore when done.

Do you have to use send_gdb/gdb_expect in this file, or can you use
gdb_test, or gdb_test_multiple?

Watch out for stray semicolon at the end of a few statements. Eg:

> +             send_gdb "set remotetimeout $oldremotetimeout\n";
                                                               ^^^

-- 
Joel


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