[PATCH] testsuite fixes for stubs

Pedro Alves pedro_alves@portugalmail.pt
Wed Dec 13 20:11:00 GMT 2006


Hi all,

The attached patch removes 109 FAILS while testing the yet unsubmitted 
arm-wince gdbserver port.
These FAILS should be happening on testsuite runs ran against most 
gdbserver/stub.

The problem is that the tests are issuing 'break $linenumber', assuming 
the current file is
the correct one, but since the breaks are being issued before the 
run/continue,
the current file is (usually) the file where the entry point is.

The fix is pretty obvious.  Specify explicitly the file where to break.

Cheers,
Pedro Alves

---

2006-12-13  Pedro Alves  <pedro_alves@portugalmail.pt>

        * gdb.base/charset.exp: Add explicit filename to break.
        * gdb.base/dbx.exp: Add explicit filename to breaks.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: breaks.diff
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20061213/20e15eb2/attachment.ksh>


More information about the Gdb-patches mailing list