From: Michael Snyder <Michael.Snyder@palmsource.com>
To: Jon Ringle <jon@ringle.org>
Cc: gdb@sourceware.org
Subject: Re: gdbserver signals interfere with {next,step{,i}}
Date: Tue, 06 Mar 2007 01:17:00 -0000 [thread overview]
Message-ID: <1173125584.29183.20.camel@localhost.localdomain> (raw)
In-Reply-To: <45EC780E.60705@ringle.org>
On Mon, 2007-03-05 at 15:05 -0500, Jon Ringle wrote:
> 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.
Is it possible for your app to use a different signal?
SIGUSR1 has been used by glibc in the old linux pthreads
implementation, and gdb (and gdbserver) both have special
handling built into them for that signal.
next prev parent reply other threads:[~2007-03-06 1:17 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-05 20:06 Jon Ringle
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 [this message]
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=1173125584.29183.20.camel@localhost.localdomain \
--to=michael.snyder@palmsource.com \
--cc=gdb@sourceware.org \
--cc=jon@ringle.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