aboutsummaryrefslogtreecommitdiff
path: root/gdb/findvar.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1991-04-20 03:57:50 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1991-04-20 03:57:50 +0000
commitf2ebc25fc2b9137c3fa0a3607d8e77c7e372226a (patch)
treec0b36da3508c77c9cdc7a656f4ab112da79d5d97 /gdb/findvar.c
parent961b4908e91517afed429ee3e246007efa86616c (diff)
downloadfsf-binutils-gdb-f2ebc25fc2b9137c3fa0a3607d8e77c7e372226a.zip
fsf-binutils-gdb-f2ebc25fc2b9137c3fa0a3607d8e77c7e372226a.tar.gz
fsf-binutils-gdb-f2ebc25fc2b9137c3fa0a3607d8e77c7e372226a.tar.bz2
* findvar.c (read_register_gen): Add "target byte-order" comment.
Wed Apr 17 17:09:48 1991 Jim Kingdon (kingdon at cygint.cygnus.com) * i386-tdep.c (i386_get_frame_setup): Use SWAP_TARGET_AND_HOST before returning locals or slocals. * i386-tdep.c (i386_follow_jump): Do not add data16 to pos in call to codestream_seek; add one to pos if (and only if) we are dealing with a jump with data16 == 1 (i.e. 0x66, 0xe9). Mon Apr 15 12:04:32 1991 Jim Kingdon (kingdon at cygint.cygnus.com) * valops.c (call_function_by_hand): Put dummy1 in target order before FIX_CALL_DUMMY. * tm-i386v.h (FIX_CALL_DUMMY): Don't depend on host byte order. Sun Apr 14 11:55:19 1991 Jim Kingdon (kingdon at cygint.cygnus.com) * valops.c (push_word): Add SWAP_TARGET_AND_HOST. * remote.c (remote_open): Send '+' before calling putpkt(). * tm-i386v.h (REGISTER_VIRTUAL_TYPE): Return pointer to void, not int, for pc, fp, and sp. * remote.c (remote_open): Call start_remote after putpkt("?");
Diffstat (limited to 'gdb/findvar.c')
-rw-r--r--gdb/findvar.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/findvar.c b/gdb/findvar.c
index c674a54..25ff0ba 100644
--- a/gdb/findvar.c
+++ b/gdb/findvar.c
@@ -267,8 +267,9 @@ read_register_bytes (regbyte, myaddr, len)
}
/* Read register REGNO into memory at MYADDR, which must be large enough
- for REGISTER_RAW_BYTES (REGNO). If the register is known to be the
- size of a CORE_ADDR or smaller, read_register can be used instead. */
+ for REGISTER_RAW_BYTES (REGNO). Target byte-order.
+ If the register is known to be the size of a CORE_ADDR or smaller,
+ read_register can be used instead. */
void
read_register_gen (regno, myaddr)
int regno;