diff options
author | Omair Javaid <omair.javaid@linaro.org> | 2014-01-09 15:35:45 +0500 |
---|---|---|
committer | Will Newton <will.newton@linaro.org> | 2014-01-15 16:41:52 +0000 |
commit | bfbbec0088b7d581ce751cbbe4d6f3af90e086d1 (patch) | |
tree | 2c5eaa86cb41c9613c6244d3542646de513c8dfc /gdb | |
parent | e40adcc9f8ba2dd64fdee98013ee0a98031684ea (diff) | |
download | binutils-gdb-bfbbec0088b7d581ce751cbbe4d6f3af90e086d1.tar.gz |
gdb: ARM: Fix for memory record corruption due to 64bit addresses
gdb/ChangeLog:
2014-01-15 Omair Javaid <omair.javaid@linaro.org>
* arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/arm-tdep.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6c51b84b309..a3789bc71a1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2014-01-15 Omair Javaid <omair.javaid@linaro.org> + + * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t. + 2014-01-15 Pedro Alves <palves@redhat.com> * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach) diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index a91f3c79320..0b17998105a 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -10610,7 +10610,7 @@ vfp - VFP co-processor."), struct arm_mem_r { uint32_t len; /* Record length. */ - CORE_ADDR addr; /* Memory address. */ + uint32_t addr; /* Memory address. */ }; /* ARM instruction record contains opcode of current insn |