This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Invalid update to pc in instruction


Hi,
	While running kgdb kernel I got following error:

(gdb) p/x $pc
$4 = 0xc00ef530
(gdb) n
0xc00ef530 in memcpy () at uaccess.h:363
363     in uaccess.h
Invalid update to pc in instruction
(gdb) disas $pc
Dump of assembler code for function memcpy:
0xc00ef520 <memcpy+0>:  stmdb   sp!, {r0, r4, lr}
0xc00ef524 <memcpy+4>:  subs    r2, r2, #4      ; 0x4
0xc00ef528 <memcpy+8>:  blt     0xc00ef5dc <memcpy+188>
0xc00ef52c <memcpy+12>: ands    r12, r0, #3     ; 0x3
0xc00ef530 <memcpy+16>: pld     [r1]
0xc00ef534 <memcpy+20>: bne     0xc00ef5fc <memcpy+220>
0xc00ef538 <memcpy+24>: ands    r12, r1, #3     ; 0x3
0xc00ef53c <memcpy+28>: bne     0xc00ef62c <memcpy+268>


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 ?

Thanks & Regards,
-Girish.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]