mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 18:39:34 +08:00
Read 2 byte (16 bit addresses) when needed.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
Tue Feb 29 15:14:56 2000 Andrew Cagney <cagney@b1.cygnus.com>
|
||||||
|
|
||||||
|
From 2000-02-22 Stephane Carrez <stcarrez@worldnet.fr>:
|
||||||
|
* dwarf2read.c (read_address): Read 16-bits addresses.
|
||||||
|
|
||||||
2000-02-28 Scott Bambrough <scottb@netwinder.org>
|
2000-02-28 Scott Bambrough <scottb@netwinder.org>
|
||||||
|
|
||||||
* arm-linux-nat.c (fetch_nw_fpe_*):
|
* arm-linux-nat.c (fetch_nw_fpe_*):
|
||||||
|
@ -3487,6 +3487,9 @@ read_address (abfd, buf)
|
|||||||
|
|
||||||
switch (address_size)
|
switch (address_size)
|
||||||
{
|
{
|
||||||
|
case 2:
|
||||||
|
retval = bfd_get_16 (abfd, (bfd_byte *) buf);
|
||||||
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
retval = bfd_get_32 (abfd, (bfd_byte *) buf);
|
retval = bfd_get_32 (abfd, (bfd_byte *) buf);
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user