This is the mail archive of the gdb-patches@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] |
Hi, Current version of gdb cannot read CPSR register correctly through ptrace(2) when debugging live process on ARM linux. Problem is caused by change where ARM_CPSR_REGNUM (16) was aliased to ARM_PS_REGNUM (25). This is easy to test on ARM linux targets: just run 'info registers'. Following patch should fix it. 2009-04-21 Mika Westerberg <mika.westerberg@iki.fi> * arm-linux-tdep.h, arm-tdep.h: Changed ARM_CPSR_REGNUM to be correct (16) again. Thanks, MW
Attachment:
arm-linux-cpsr.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |