aboutsummaryrefslogtreecommitdiff
path: root/sim/erc32/sis.h
diff options
context:
space:
mode:
authorJiri Gaisler <jiri@gaisler.se>2015-03-17 22:02:38 +0100
committerMike Frysinger <vapier@gentoo.org>2015-03-17 18:51:44 -0400
commit638fcdad6a0de44f6c91b503280207fc1f34ff9e (patch)
tree151b330acdc3da974cb11d3c012dd2778784a7c8 /sim/erc32/sis.h
parent029f3522619e8b77a7b848be23f4c13e50087d8b (diff)
downloadgdb-638fcdad6a0de44f6c91b503280207fc1f34ff9e.zip
gdb-638fcdad6a0de44f6c91b503280207fc1f34ff9e.tar.gz
gdb-638fcdad6a0de44f6c91b503280207fc1f34ff9e.tar.bz2
sim/erc32: Added -v command line switch for verbose output
Diffstat (limited to 'sim/erc32/sis.h')
-rw-r--r--sim/erc32/sis.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/sim/erc32/sis.h b/sim/erc32/sis.h
index 6820cb4..74466ae 100644
--- a/sim/erc32/sis.h
+++ b/sim/erc32/sis.h
@@ -24,7 +24,8 @@
#include "gdb/callback.h"
#include "gdb/remote-sim.h"
#include <sim-config.h>
-
+#include <stdint.h>
+
#if WITH_HOST_BYTE_ORDER == BIG_ENDIAN
#define HOST_BIG_ENDIAN
#else
@@ -56,11 +57,8 @@ typedef unsigned int uint32; /* 32-bit unsigned int */
typedef float float32; /* 32-bit float */
typedef double float64; /* 64-bit float */
-/* FIXME: what about host compilers that don't support 64-bit ints? */
-typedef unsigned long long uint64; /* 64-bit unsigned int */
-typedef long long int64; /* 64-bit signed int */
-
-#define UINT64_MAX 18446744073709551615ULL
+typedef uint64_t uint64; /* 64-bit unsigned int */
+typedef int64_t int64; /* 64-bit signed int */
struct pstate {