OSDN Git Service

* 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)
commit33b4350fa5ca6da4ae6b0780c8ba2a5c19203bf7
tree712cea95ed6ad788b62aeaa5d6f6320cf549a040
parentfd64e1f0c3a9989187d15050a8713ee013ae5e51
* 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