PTRACE_SINGLESTEP into signal handler

Andrew Cagney ac131313@redhat.com
Mon Nov 29 15:45:00 GMT 2004


Ulrich Weigand wrote:
> 
> 
> 
> Daniel Jacobowitz <drow@false.org> wrote on 11/28/2004 12:28:14 AM:
> 
> 
>>I'm pretty sure that the answer is yes - we should stop on the first
>>instruction.  It does seem a little strange as a behavior when
>>requesting single-step to step no instructions, but we have no other
>>way to get to the beginning of the handler.  i386 was changed recently.

Yes, I, Roland, Woodhouse (and?) have been quietly working through this 
  for PPC, amd64 and i386; I guess it's time to make some noise ;-)

> Ok; so we'll change the s390 kernel to also stop at the beginning of
> the handler.  I've asked Martin to push the patch upstream.

Ref: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=133799

Andrew



More information about the Gdb mailing list