Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jon Ringle <jon@ringle.org>
To: gdb@sourceware.org
Subject: gdbserver signals interfere with {next,step{,i}}
Date: Mon, 05 Mar 2007 20:06:00 -0000	[thread overview]
Message-ID: <45EC780E.60705@ringle.org> (raw)

Hello,

I have an application that uses SIGUSR1 to receive timer interrupts. 
I've done 'handle SIGUSR1 nostop noprint' to avoid gdb from stopping on 
SIGUSR1.
I've found that when debugging this application using gdbserver, that I 
can't use next, nexti, step, or stepi. When I use one of these commands, 
the application usually just continues without stopping at the next 
line/instruction.

If I use a native gdb on the target the problem does not occur.
If I disable my app from generating the SIGUSR1 and use gdbserver, the 
problem also goes away.

I am using gdb-6.6 for gdbserver, native gdb and cross gdb.

Jon


             reply	other threads:[~2007-03-05 20:06 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-05 20:06 Jon Ringle [this message]
2007-03-05 20:17 ` Daniel Jacobowitz
2007-03-05 23:20   ` Jon Ringle
2007-03-06  1:43     ` Michael Snyder
2007-03-06  1:48       ` [SPAM] " Jon Ringle
2007-03-06  2:11         ` Michael Snyder
2007-03-06  2:25           ` [SPAM] " Jon Ringle
2007-03-06 12:25             ` Daniel Jacobowitz
2007-03-06 14:31               ` Jon Ringle
2007-03-06 14:39                 ` Daniel Jacobowitz
2007-03-06 14:57                   ` Jon Ringle
2007-03-06 19:46                 ` Michael Snyder
2007-03-06 20:18                   ` Jon Ringle
2007-03-06 20:19                   ` Daniel Jacobowitz
2007-03-06 19:41             ` Michael Snyder
2007-03-06 20:10               ` Jon Ringle
2007-03-06  2:40           ` Jon Ringle
2007-03-06  5:07           ` Jon Ringle
2007-03-06  1:17 ` Michael Snyder
2007-03-06  1:30   ` Jon Ringle

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=45EC780E.60705@ringle.org \
    --to=jon@ringle.org \
    --cc=gdb@sourceware.org \
    /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