gdb: xtensa: fix on 64-bit hosts
authorBaruch Siach <baruch@tkos.co.il>
Wed, 22 Jan 2014 13:02:29 +0000 (15:02 +0200)
committerPedro Alves <palves@redhat.com>
Wed, 22 Jan 2014 12:12:24 +0000 (12:12 +0000)
On 64-bit hosts unsigned long is 64 bit.  Use uint32_t instead.

gdb/
2014-01-22  Baruch Siach  <baruch@tkos.co.il>

* xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.

gdb/ChangeLog
gdb/xtensa-tdep.h

index 107ed9896a7000f69d8b526f69e7e7cd390e7d90..10aaefe6a18b75c91091b76151501041573cdcc4 100644 (file)
@@ -1,3 +1,7 @@
+2014-01-22  Baruch Siach  <baruch@tkos.co.il>
+
+       * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
+
 2014-01-22  Pedro Alves  <palves@redhat.com>
 
        * xtensa-config.c: Include defs.h.
index 968b9d2916b71ebf735ac0f6a02e8e2fd5b89b46..d7ba5628e42a583b4b0fadba9d06ba570f3ea949 100644 (file)
@@ -84,7 +84,7 @@ typedef enum
 /* Xtensa ELF core file register set representation ('.reg' section).
    Copied from target-side ELF header <xtensa/elf.h>.  */
 
-typedef unsigned long xtensa_elf_greg_t;
+typedef uint32_t xtensa_elf_greg_t;
 
 typedef struct
 {
This page took 0.026537 seconds and 4 git commands to generate.