public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@cygnus.com>
To: Jonathan Larmour <jlarmour@redhat.co.uk>
Cc: gdb@sourceware.cygnus.com
Subject: Re: x86 linux GDB and SIGALRM
Date: Sat, 01 Apr 2000 00:00:00 -0000	[thread overview]
Message-ID: <38DF3159.DF837D7D@cygnus.com> (raw)
Message-ID: <20000401000000.TYfhranLr3Bu3L3w4NmliPI7128Fmxqgdiv3OjV6z9Q@z> (raw)
In-Reply-To: <38DBF46A.8EABE9BF@redhat.co.uk>

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

  reply	other threads:[~2000-04-01  0:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-24 15:04 Jonathan Larmour
2000-03-27  2:03 ` Andrew Cagney [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=38DF3159.DF837D7D@cygnus.com \
    --to=ac131313@cygnus.com \
    --cc=gdb@sourceware.cygnus.com \
    --cc=jlarmour@redhat.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).