[arm] Fix regression by Do not skip prologue for asm (.S) files
authorYao Qi <yao.qi@linaro.org>
Tue, 7 Jul 2015 09:37:28 +0000 (10:37 +0100)
committerYao Qi <yao.qi@linaro.org>
Tue, 7 Jul 2015 09:40:30 +0000 (10:40 +0100)
commitd441430b752a617fe476e745b95f544fe4463fec
tree928cde557d225488268a4909aeff0fafa1b921b7
parentfa446e20d980f2fa225c57e452849dc7d5f615d6
[arm] Fix regression by Do not skip prologue for asm (.S) files

Patch "Do not skip prologue for asm (.S) files" [1] changes GDB's
behaviour on which test gdb.arch/thumb-singlestep.exp depends, so
it causes the fail below:

 (gdb) si^M
 37              blx     foo^M
 (gdb) FAIL: gdb.arch/thumb-singlestep.exp: step into foo

the test assumes the program will stop at the instruction after "push"
but it doesn't.  The fix to this fail is to do one more single step.

[1] https://sourceware.org/ml/gdb-patches/2015-06/msg00561.html

gdb/testsuite:

2015-07-07  Yao Qi  <yao.qi@linaro.org>

* gdb.arch/thumb-singlestep.exp: Do one more single step.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.arch/thumb-singlestep.exp