Fix PR/16720
2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com> * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for small stack allocation.
This commit is contained in:
parent
a62904492b
commit
7588d2eca0
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
|
||||||
|
|
||||||
|
* avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
|
||||||
|
small stack allocation.
|
||||||
|
|
||||||
2014-03-24 Tristan Gingold <gingold@adacore.com>
|
2014-03-24 Tristan Gingold <gingold@adacore.com>
|
||||||
|
|
||||||
* darwin-nat.c (exc_server): Remove unused prototype.
|
* darwin-nat.c (exc_server): Remove unused prototype.
|
||||||
|
|
|
@ -720,7 +720,7 @@ avr_scan_prologue (struct gdbarch *gdbarch, CORE_ADDR pc_beg, CORE_ADDR pc_end,
|
||||||
info->size += gdbarch_tdep (gdbarch)->call_length;
|
info->size += gdbarch_tdep (gdbarch)->call_length;
|
||||||
vpc += 2;
|
vpc += 2;
|
||||||
}
|
}
|
||||||
else if (insn == 0x920f) /* push r0 */
|
else if (insn == 0x920f || insn == 0x921f) /* push r0 or push r1 */
|
||||||
{
|
{
|
||||||
info->size += 1;
|
info->size += 1;
|
||||||
vpc += 2;
|
vpc += 2;
|
||||||
|
|
Loading…
Reference in a new issue