* wince-stub.c (FREE): New macro.
authorChristopher Faylor <me+cygwin@cgf.cx>
Fri, 21 Apr 2000 03:04:35 +0000 (03:04 +0000)
committerChristopher Faylor <me+cygwin@cgf.cx>
Fri, 21 Apr 2000 03:04:35 +0000 (03:04 +0000)
commit61c37cee5da9d08b107ec331b1080f1982f5afa1
treedde699982332a32867ccea6dff4a7ae8ad08988e
parent8a892701f5df8fbd3470b93dca78caa6113ebaa9
* wince-stub.c (FREE): New macro.
(mempool): Just free any buffer prior to reuse.  Don't bother with realloc.
(flag_single_step): New function.
(skip_message): Detect "helpful" Windows CE messages and skip sending them to
the host.
(wait_for_debug_event): Use skip_message to avoid sending debug messages to the
host.
(dispatch): Prelimary implementation of single step detection.
* wince.c: Rework SH single stepping code to be more consistent with other
wince targets.
(handle_output_debug_string): Allow first chance exceptions to come through
since they seem to be all that we get on some versions of Windows CE.
(check_for_step): New function, conditionally compiled based on target.
(regptr): Delete obsolete function.
(handle_exception): Detect illegal instructions.
(get_child_debug_event): Return success only if event code matches target.
(child_create_inferior): Reflect change to get_child_debug_event arguments.
gdb/ChangeLog
gdb/config/sh/tm-wince.h
gdb/wince-stub.c
gdb/wince.c