This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] gdb_expect -> gdb_test_multiple for filesym.exp
- From: Pedro Alves <palves at redhat dot com>
- To: Keith Seitz <keiths at redhat dot com>
- Cc: "gdb-patches at sourceware dot org ml" <gdb-patches at sourceware dot org>
- Date: Thu, 16 May 2013 19:59:29 +0100
- Subject: Re: [RFA] gdb_expect -> gdb_test_multiple for filesym.exp
- References: <51951EAC dot 9090607 at redhat dot com>
On 05/16/2013 07:00 PM, Keith Seitz wrote:
> Ok?
Fine with me.
> testsuite/ChangeLog
> 2013-05-16 Keith Seitz <keiths@redhat.com>
>
> * gdb.base/filesym.exp: Use gdb_test_multiple insteadc of
> gdb_expect.
Typo "instead".
> +set tst "complete on \"filesy\""
> send_gdb "break filesy\t"
> -gdb_expect {
> - -re "m\$" {
> - pass "complete on \"filesy\""
> +gdb_test_multiple "" $tst {
> + -re "m\$" {
> + pass $tst
Is indentation ok here? Hard to tell from the diff.
> +unset -nocomplain tst
Curious. Did you trip on another test getting confused with 'tst'
left set?
Thanks,
--
Pedro Alves