summaryrefslogtreecommitdiff
path: root/gdb/gdbserver/server.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2014-06-13 09:22:09 -0600
committerGary Benson <gbenson@redhat.com>2014-07-24 14:57:25 +0100
commit314c6a3559393741f22fdd9836f83d9f364fbd2a (patch)
treec2bfca506975b471e9889e9756cc9c03af8c79e4 /gdb/gdbserver/server.h
parenta7068b601288f8f5df45ca1113069b44dc759b11 (diff)
downloadbinutils-gdb-314c6a3559393741f22fdd9836f83d9f364fbd2a.tar.gz
Make gdbserver CORE_ADDR unsigned
gdbserver defines CORE_ADDR to be signed. This seems erroneous to me; and furthermore likely to cause problems in common/, as it is different from gdb's definition. gdb/gdbserver/ 2014-07-24 Tom Tromey <tromey@redhat.com> Gary Benson <gbenson@redhat.com> * server.h (CORE_ADDR): Now unsigned.
Diffstat (limited to 'gdb/gdbserver/server.h')
-rw-r--r--gdb/gdbserver/server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h
index 6eb1a16bc7a..2d55513e17b 100644
--- a/gdb/gdbserver/server.h
+++ b/gdb/gdbserver/server.h
@@ -87,7 +87,7 @@ typedef unsigned char gdb_byte;
/* FIXME: This should probably be autoconf'd for. It's an integer type at
least the size of a (void *). */
-typedef long long CORE_ADDR;
+typedef unsigned long long CORE_ADDR;
typedef long long LONGEST;
typedef unsigned long long ULONGEST;