gdb: ARM: Fix for bug in pop instruction decoding
authorOmair Javaid <omair.javaid@linaro.org>
Fri, 3 Jan 2014 19:15:32 +0000 (00:15 +0500)
committerWill Newton <will.newton@linaro.org>
Wed, 15 Jan 2014 16:47:07 +0000 (16:47 +0000)
commit9904a494c1f85d283ffa7c18ac5103d2ff2feba6
tree00f563c19bec230bd22cfe30e26b5cbb3128ed13
parentf969241e66e5c302d66a28d3f6ae5ce6fee19350
gdb: ARM: Fix for bug in pop instruction decoding

This patch fixes thumb push instruction recording by replacing base
register from pc to sp.

gdb/ChangeLog:

2014-01-15  Omair Javaid  <omair.javaid@linaro.org>

* arm-tdep.c (thumb_record_misc): Update to use sp as base
register for push instruction recording.
gdb/ChangeLog
gdb/arm-tdep.c