diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1991-04-20 03:57:50 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1991-04-20 03:57:50 +0000 |
commit | f2ebc25fc2b9137c3fa0a3607d8e77c7e372226a (patch) | |
tree | c0b36da3508c77c9cdc7a656f4ab112da79d5d97 /gdb/remote.c | |
parent | 961b4908e91517afed429ee3e246007efa86616c (diff) | |
download | gdb-f2ebc25fc2b9137c3fa0a3607d8e77c7e372226a.zip gdb-f2ebc25fc2b9137c3fa0a3607d8e77c7e372226a.tar.gz 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/remote.c')
-rw-r--r-- | gdb/remote.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/remote.c b/gdb/remote.c index 3e0acd3..c5673d2 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -187,7 +187,6 @@ device is attached to the remote system (e.g. /dev/ttya)."); if (from_tty) printf ("Remote debugging using %s\n", name); push_target (&remote_ops); /* Switch to using remote target now */ - start_remote (); /* Initialize gdb process mechanisms */ #ifndef HAVE_TERMIO #ifndef NO_SIGINTERRUPT @@ -201,7 +200,11 @@ device is attached to the remote system (e.g. /dev/ttya)."); perror ("remote_open: error in signal"); #endif + /* Ack any packet which the remote side has already sent. */ + write (remote_desc, "+", 1); putpkt ("?"); /* initiate a query from remote machine */ + + start_remote (); /* Initialize gdb process mechanisms */ } /* remote_detach() |