From 8456141bb285b312e9b14027860bbacd89df0a42 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 23 Sep 1998 08:31:50 +0000 Subject: [PATCH] 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. --- gdb/ChangeLog | 13 +++++++++++++ gdb/NEWS | 12 ++++++++++++ 2 files changed, 25 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 38a09282b89..6c66031cfa7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,16 @@ +Wed Sep 23 18:21:03 1998 Andrew Cagney + + * 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 * remote.c (_initialize_remote, packet_command, print_packet): diff --git a/gdb/NEWS b/gdb/NEWS index fa1648754e7..bf493089d5b 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 -- 2.30.2