diff options
author | Tom Tromey <tromey@redhat.com> | 2014-06-13 09:22:09 -0600 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2014-07-24 14:57:25 +0100 |
commit | 314c6a3559393741f22fdd9836f83d9f364fbd2a (patch) | |
tree | c2bfca506975b471e9889e9756cc9c03af8c79e4 /gdb | |
parent | a7068b601288f8f5df45ca1113069b44dc759b11 (diff) | |
download | gdb-314c6a3559393741f22fdd9836f83d9f364fbd2a.zip gdb-314c6a3559393741f22fdd9836f83d9f364fbd2a.tar.gz gdb-314c6a3559393741f22fdd9836f83d9f364fbd2a.tar.bz2 |
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')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbserver/server.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 2bcd6ea..60d2430 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2014-07-24 Tom Tromey <tromey@redhat.com> + Gary Benson <gbenson@redhat.com> + + * server.h (CORE_ADDR): Now unsigned. + 2014-07-16 Pedro Alves <palves@redhat.com> * linux-low.c (linux_kill_one_lwp): Use kill_lwp, not kill. diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h index 6eb1a16..2d55513 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; |