Invalid update to pc in instruction
Daniel Jacobowitz
drow@false.org
Tue Mar 28 15:20:00 GMT 2006
On Tue, Mar 28, 2006 at 02:55:53PM +0530, Girish Shilamkar wrote:
> 363 in uaccess.h
> Invalid update to pc in instruction
> 0xc00ef530 <memcpy+16>: pld [r1]
> I am using cross gdb-6.4 for Intel PXA270 (armv5l) processor.
> Kindly let me know in what scenario does the error msg "Invalid update
> to pc in instruction" is displayed ?
A quick look in the source would find this message is issued in only
two places:
if (bits (this_instr, 22, 25) == 0
&& bits (this_instr, 4, 7) == 9) /* multiply */
error (_("Invalid update to pc in instruction"));
and
if (bit (this_instr, 22))
error (_("Invalid update to pc in instruction"));
The prologue analyzer thinks that pld [r1] is an instruction which sets
PC, incorrectly. It should be updated.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb
mailing list