Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: gnusrc/gnu/dist/toolchain/gdb



Module Name:    gnusrc
Committed By:   bjh21
Date:           Thu Oct 25 20:55:13 UTC 2001

Modified Files:
        gnusrc/gnu/dist/toolchain/gdb: armnbsd-nat.c

Log Message:
When fetching registers, if CPSR is zero (and hence we've just fetched from
a 26-bit target), split R15 into PC and CPSR.  Similarly, when storing
registers, copy CPSR back into R15 if CPSR indicates a 26-bit mode.
This makes single-stepping work correctly on arm26.

Also, when fetching registers, set arm_apcs_32 based on the mode the target's
in.  This removes the need to kludge it manually.  The variable should really
be lost entirely, and arm-tdep.c should look at the mode bits in CPSR, but
the ARM Linux target is horribly broken in this area, and will either need
fixing or working around.


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 gnusrc/gnu/dist/toolchain/gdb/armnbsd-nat.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index