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

Yao Qi yao@codesourcery.com
Wed May 4 07:02:00 GMT 2011


On 05/03/2011 10:55 PM, Joel Brobecker wrote:
>> > +    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 ?

Yes, we should.  I read GDBTestcaseCookbook
(http://sourceware.org/gdb/wiki/GDBTestcaseCookbook) again, and this is
mentioned in it.

How about this one?  Test result is same as the last patch.

-- 
Yao (齐尧)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-add-more-ARM-disp-step-test.patch
Type: text/x-patch
Size: 5764 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20110504/4fb590bc/attachment.bin>


More information about the Gdb-patches mailing list