]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb: xtensa: fix on 64-bit hosts gdb_7_6-branch
authorBaruch Siach <baruch@tkos.co.il>
Wed, 22 Jan 2014 12:22:26 +0000 (12:22 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 22 Jan 2014 12:23:00 +0000 (12:23 +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 456c6d3d4aa49868c5adfebbc50b475ac922f05a..4473d484f1e465475482dd669d3be9ad23652b66 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 1e9ad25ed367b597bd70cc120f3dd33a5bcc90bf..f4d568d05320484d28a9842492491643c227cfc1 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
 {