(thumb_scan_prologue): Fix typo.
+2005-10-20 Julian Brown <julian@codesourcery.com>
+
+ * gdb/arm-tdep.c (thumb2_modify_constant): Silence compiler warning.
+ (thumb_scan_prologue): Fix typo.
+
2005-10-20 Julian Brown <julian@codesourcery.com>
* gdb/arm-tdep.c (bitcount): Move function higher up in file.
return imm12 | (imm12 << 8) | (imm12 << 16) | (imm12 << 24);
}
}
+
+ return 0;
}
/* *INDENT-OFF* */
imm = thumb2_modify_constant (imm);
cache->frameoffset += imm;
- cache->framesize += offset;
+ cache->framesize += imm;
}
else if ((insn & 0xffffff00) == 0xaf00) /* add r7, sp, #imm */
{