This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch, testsuite] Add three new tests in arm-disp-step.exp
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 3 May 2011 07:55:11 -0700
- Subject: Re: [patch, testsuite] Add three new tests in arm-disp-step.exp
- References: <4DBF9CDD.3050605@codesourcery.com>
> 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