x86 linux GDB and SIGALRM
Andrew Cagney
ac131313@cygnus.com
Mon Mar 27 02:03:00 GMT 2000
Jonathan Larmour wrote:
>
> I have an x86 Linux program here that uses SIGALRM for regular periodic
> "interrupts". SIGVTALRM isn't really precise enough for it's needs.
>
> However I noticed that "si" doesn't work - it interferes with the ptrace/GDB
> interface. It seems that when ptrace(PTRACE_SINGLESTEP,...) returns, a
> SIGALRM is pending, and the single step gets lost.
>
> Now this works in GDB 4.18 so this is a regression. But does anyone have any
> clues as to what's *meant* to be going on here, and how I fix GDB?
Can anyone independantly confirm/deny this?
Andrew
More information about the Gdb
mailing list