aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1998-09-23 08:31:50 +0000
committerAndrew Cagney <cagney@redhat.com>1998-09-23 08:31:50 +0000
commit8456141bb285b312e9b14027860bbacd89df0a42 (patch)
treeb859c77a1f65bbd683a6d67162442176fb439348
parentf8059b97e73e5735c61a470d81b560fddae6b1ca (diff)
downloadgdb-8456141bb285b312e9b14027860bbacd89df0a42.zip
gdb-8456141bb285b312e9b14027860bbacd89df0a42.tar.gz
gdb-8456141bb285b312e9b14027860bbacd89df0a42.tar.bz2
Allow full 64 bits of an address to be specified in an `M' or `n' packet.
Add backward compatibility variable `set remoteaddresssize' to handle regressions.
-rw-r--r--gdb/ChangeLog13
-rw-r--r--gdb/NEWS12
2 files changed, 25 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 38a0928..6c66031 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,16 @@
+Wed Sep 23 18:21:03 1998 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * remote.c (remote_address_masked): New function - mask address
+ according to REMOTE_ADDRESS_SIZE.
+ (remote_address_size): New global.
+ (hexnumstr): New function - convert arbitrary unsigned to hex.
+ (remote_write_bytes, remote_read_bytes): Use hexnumstr to
+ construct packet address. Mask address when necessary.
+ (_initialize_remote): Add "set remoteaddresssize" command, set
+ REMOTE_ADDRESS_SIZE variable.
+
+ * NEWS: Update.
+
Wed Sep 23 18:08:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
* remote.c (_initialize_remote, packet_command, print_packet):
diff --git a/gdb/NEWS b/gdb/NEWS
index fa16487..bf49308 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -1,6 +1,18 @@
What has changed in GDB?
(Organized release by release)
+*** Changes since GDB-4.17:
+
+* GDB Remote protocol
+
+For 64 bit targets, the memory packets ("M" and "m") can now contain a
+full 64 bit address. The class-obscure gdb command:
+ set targetaddresssize 32
+can be used to revert to the old behavour. For existing remote stubs
+the change should not be noticed as the additional address information
+will be descarded.
+
+
*** Changes in GDB-4.17:
* New native configurations