* gdbserver/remote-utils.c (write_ok): Write "OK", not "Ok", to
authorJim Kingdon <jkingdon@engr.sgi.com>
Thu, 8 Dec 1994 22:54:33 +0000 (22:54 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Thu, 8 Dec 1994 22:54:33 +0000 (22:54 +0000)
commit4cc1b3f79dcd9b5dc475c358a3388239e9d7b68b
tree0783784fe967a54e89aed7aa93b8fc0010bce7ee
parent4181c9853b48e3a4deb6c518e4b0a6a901eef7ac
* gdbserver/remote-utils.c (write_ok): Write "OK", not "Ok", to
match stubs and protocol spec.
* gdbserver/remote-utils.c (remote_open): Cast to struct sockaddr
when passing to function which expects that.

The following changes aren't quite enough to make things work with
LynxOS (apprently kernel problems).
* infrun.c (wait_for_inferior): When resuming new thread, pass pid
not -1 for remote case.
* thread.c (info_threads_command): Give error if !target_has_stack.
* infrun.c (start_remote): Call init_thread_list.
* thread.c (info_threads_command): Don't call kill for remote
debugging target.
* target.c (normal_pid_to_str): Print "thread" not "process" for
remote.
* remote.c, gdbserver/*: Add 'H', 'S', and 'C' requests, 'X'
response, and `thread' part of 'T' response.
* gdbserver/*: If program exits, send packet to GDB before
exiting.  Handle termination with a signal the same as exiting
with an exitstatus.
* remote.c: Don't try to kill program after getting an 'X'
response.
* infrun.c (wait_for_inferior): Add comment about kill versus mourn.
gdb/ChangeLog
gdb/gdbserver/low-lynx.c
gdb/gdbserver/low-sparc.c
gdb/gdbserver/low-sun3.c
gdb/infrun.c
gdb/remote.c
gdb/thread.c