[rfc] sigstep additions

Andrew Cagney cagney@gnu.org
Tue Aug 24 14:29:00 GMT 2004


> ac> I'd like to turn this into an RFA.
> 
> mec> I'll approve it in 24-48 hours, unless Daniel or Mark has an objection
> mec> or wants more time for review.  (Not even sure if Mark has an interest
> mec> in signal handling).
> 
> Oops, that was 8 days ago!  I dropped my to-do item.
> I'm sorry about that.

Here's a revision, I missed one case - single stepping off a breakpoint 
when there's a signal.

Now the interesting bit.

i386: single-stepping over a signal handler fails
ppc: single-stepping over a breakpoint (with signal handler) fails

I suspect they are the same underlying bug.

Tested on i386 (FC2 with a `fixed' kernel) and PPC (with a `fixed' kernel).

Still ok?

Andrew

`fixed' refers to a kernel that can correctly single-step a system call.

> This patch is approved.
> 
> ===
> 
> 2004-08-10  Andrew Cagney  <cagney@gnu.org>
> 
>         * gdb.base/sigstep.exp (breakpoint_to_handler)
>         (skip_over_handler, skip_to_handler): New test procedures.
>         (advance, advancei): Add a proper prefix, do not use
>         rerun_to_main.
>         * gdb.base/sigstep.c (main): Change to use an infinite loop.
> 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20040824/6806756a/attachment.ksh>


More information about the Gdb-patches mailing list