of 'uninteresting' signals when single-stepping.
+2006-05-05 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * linux-nat.c (linux_nat_wait): Do not short-cut reporting
+ of 'uninteresting' signals when single-stepping.
+
2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
* MAINTAINERS: Move NEWS to the documentation entry.
{
int signo = target_signal_from_host (WSTOPSIG (status));
- if (signal_stop_state (signo) == 0
+ /* If we get a signal while single-stepping, we may need special
+ care, e.g. to skip the signal handler. Defer to common code. */
+ if (!lp->step
+ && signal_stop_state (signo) == 0
&& signal_print_state (signo) == 0
&& signal_pass_state (signo) == 1)
{