gdb: ARM: Fix for memory record corruption due to 64bit addresses
authorOmair Javaid <omair.javaid@linaro.org>
Thu, 9 Jan 2014 10:35:45 +0000 (15:35 +0500)
committerWill Newton <will.newton@linaro.org>
Wed, 15 Jan 2014 16:41:52 +0000 (16:41 +0000)
gdb/ChangeLog:

2014-01-15  Omair Javaid  <omair.javaid@linaro.org>

* arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.

gdb/ChangeLog
gdb/arm-tdep.c

index 6c51b84b309fc1dfd05dc076a67f38048cbf467a..a3789bc71a165de09cd55d062a94fbac4115eb4d 100644 (file)
@@ -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)
index a91f3c793209900cdb438df41d0cc2bec50e56c7..0b17998105a677b946300d0d281b26e424710db6 100644 (file)
@@ -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