From: Keith Seitz <keiths@cygnus.com>
To: Laurent Duperval <lduperval@microcelli5.com>
Cc: GDB Mailing List <gdb@sourceware.cygnus.com>
Subject: Re: Breaking outside of the sources
Date: Tue, 24 Apr 2001 13:14:00 -0000 [thread overview]
Message-ID: <Pine.SOL.3.91.1010424131125.2935Y-100000@ryobi.cygnus.com> (raw)
In-Reply-To: <20010424202629.7D52A46973@lenard.microcelli5.com>
On Tue, 24 Apr 2001, Laurent Duperval wrote:
> Someone sent an email on the insight list complaining that when gdb is
> interrupted, you can find yourself stuck in assembly in a line of
> /lib/libc.so instead of a line from your program. He asked whether it was
> possible to limit the lines seen to the programs being debugged and not to
> see system library stuff. I thought it was a a legitimate question.
If you interrupt a system call (you were blocked in select, poll, read,
write, etc), then gdb dutifully prints out that you are there, because
your program IS there. It is not somewhere else, it is in the system
call, executing code in a (possibly shared) system library.
Of course, I could misunderstand this question entirely. It sounds like
the user is requesting that the debugger lie to him about what his
program is executing...
Keith
next prev parent reply other threads:[~2001-04-24 13:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-24 12:31 Laurent Duperval
2001-04-24 13:14 ` Keith Seitz [this message]
2001-04-24 13:39 ` Laurent Duperval
2001-04-24 13:48 ` Keith Seitz
2001-04-24 14:14 pmcgarry
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=Pine.SOL.3.91.1010424131125.2935Y-100000@ryobi.cygnus.com \
--to=keiths@cygnus.com \
--cc=gdb@sourceware.cygnus.com \
--cc=lduperval@microcelli5.com \
/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