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, testsuite] Add three new tests in arm-disp-step.exp


> gdb/testsuite/
> 2011-05-03  Yao Qi  <yao@codesourcery.com>
> 
>         * gdb.arch/arm-disp-step.S (test_ldr_literal): New.
>         (test_adr_32bit, test_pop_pc): New.
>         * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
>         (test_adr_32bit, test_pop_pc): New.

A comment/question:

> +    gdb_test_multiple "break *test_ldr_literal" "break test_ldr_literal" {
> +       -re "Breakpoint.*at.* file .*$srcfile, line.*" {
> +           pass "break test_ldr_literal"
> +       }

Aren't we supposed to consume the GDB prompt as well, when using
gdb_test_multiple -re ?

-- 
Joel


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