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.
This commit is contained in:
parent
f8059b97e7
commit
8456141bb2
2 changed files with 25 additions and 0 deletions
|
@ -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>
|
Wed Sep 23 18:08:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
|
||||||
|
|
||||||
* remote.c (_initialize_remote, packet_command, print_packet):
|
* remote.c (_initialize_remote, packet_command, print_packet):
|
||||||
|
|
12
gdb/NEWS
12
gdb/NEWS
|
@ -1,6 +1,18 @@
|
||||||
What has changed in GDB?
|
What has changed in GDB?
|
||||||
(Organized release by release)
|
(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:
|
*** Changes in GDB-4.17:
|
||||||
|
|
||||||
* New native configurations
|
* New native configurations
|
||||||
|
|
Loading…
Reference in a new issue