From: Karsten Ahnert <karsten.ahnert@googlemail.com>
To: help-gnu-emacs@gnu.org
Subject: gud and shared objects
Date: Wed, 26 Dec 2012 21:53:01 +0100 [thread overview]
Message-ID: <50DB63AD.9090009@googlemail.com> (raw)
Hi,
I have a problem with debugging C++ with emacs and gdb. I can set
breakpoints in functions defined in shared objects by simply adding them
manually via
b file_in_so.cpp:23
But if I open file_in_so.cpp in an emacs window I can not use the
graphical debugging facilities. I guess, that emacs does not yet know
that this file belongs to the sources of the executable. Files belonging
not to the shared object are already usable for graphical debugging.
Files from the shared object are also usable if a manual breakpoint or
an uncaught exception are hit within the shared object.
Is there a command telling emacs to reload the current list of all
sources, even the ones defined in shared objects?
(http://stackoverflow.com/questions/14040242/emacs-gdb-show-sources-of-shared-objects)
next reply other threads:[~2012-12-26 20:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-26 20:53 Karsten Ahnert [this message]
2012-12-27 3:54 ` gud and shared objects Eli Zaretskii
[not found] ` <mailman.16153.1356580485.855.help-gnu-emacs@gnu.org>
2012-12-27 19:53 ` karsten.ahnert
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=50DB63AD.9090009@googlemail.com \
--to=karsten.ahnert@googlemail.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.