From: "Patrick M. Rutkowski" <rutski89@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: GDB Not Seeing Sources
Date: Wed, 24 Mar 2010 03:05:40 -0400 [thread overview]
Message-ID: <c4b204921003240005x8b755d8i5af2d41dd6528e66@mail.gmail.com> (raw)
Hi guys,
I've got an odd problem where a particular usage case of "M-x gdb"
isn't following the debugger in the source code buffers.
What I did was "M-x gdb", then I ran "attach PID" from within gdb, to
attach to my already running program. I did a "break poll" to break in
poll (it's server code), and then I did a "continue". It got to the
poll, and I did a "finish" to wait for it to get out of the poll. I
did get out of the poll, and now I'm successfully stopped from within
gdb, on the first line of code after the poll, but it's not following
along int the sources!
I can type "list" in gdb to get a source listing, but that interface
is clunky enough so as to be unusable. That is, after all, why I'm
trying to use gdb from within emacs!
Is it possible to get it to see sources after an "attach PID"? Or is
something fundamentally wrong here?
-Patrick
next reply other threads:[~2010-03-24 7:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-24 7:05 Patrick M. Rutkowski [this message]
[not found] ` <201003241527.o2OFRX9Z039853@ns.mahan.org>
2010-03-25 0:08 ` GDB Not Seeing Sources Patrick M. Rutkowski
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=c4b204921003240005x8b755d8i5af2d41dd6528e66@mail.gmail.com \
--to=rutski89@gmail.com \
--cc=help-gnu-emacs@gnu.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.