public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* x86 linux GDB and SIGALRM
@ 2000-03-24 15:04 Jonathan Larmour
  2000-03-27  2:03 ` Andrew Cagney
  2000-04-01  0:00 ` Jonathan Larmour
  0 siblings, 2 replies; 9+ messages in thread
From: Jonathan Larmour @ 2000-03-24 15:04 UTC (permalink / raw)
  To: gdb

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2000-05-01 14:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-24 15:04 x86 linux GDB and SIGALRM Jonathan Larmour
2000-03-27  2:03 ` Andrew Cagney
2000-03-27  2:20   ` Mark Kettenis
2000-04-01  0:00     ` Mark Kettenis
2000-04-10 14:21     ` Jonathan Larmour
2000-05-01 11:53       ` [RFA] " Mark Kettenis
2000-05-01 14:05         ` Jim Blandy
2000-04-01  0:00   ` Andrew Cagney
2000-04-01  0:00 ` Jonathan Larmour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).