This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
x86 linux GDB and SIGALRM
- To: gdb at sourceware dot cygnus dot com
- Subject: x86 linux GDB and SIGALRM
- From: Jonathan Larmour <jlarmour at redhat dot co dot uk>
- Date: Fri, 24 Mar 2000 23:04:10 +0000
- Organization: Red Hat UK Ltd.
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?
Jifl
--
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow." || These opinions are all my own fault