[patch, testsuite] Add three new tests in arm-disp-step.exp

Joel Brobecker brobecker@adacore.com
Tue May 3 14:55:00 GMT 2011


> 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



More information about the Gdb-patches mailing list