all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: gud and shared objects
Date: Thu, 27 Dec 2012 05:54:17 +0200	[thread overview]
Message-ID: <83txr8m9p2.fsf@gnu.org> (raw)
In-Reply-To: <50DB63AD.9090009@googlemail.com>

> Date: Wed, 26 Dec 2012 21:53:01 +0100
> From: Karsten Ahnert <karsten.ahnert@googlemail.com>
> 
> 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?

This is a GDB issue, not an Emacs issue.  Try using the GDB command
"set auto-solib add on".



  reply	other threads:[~2012-12-27  3:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-26 20:53 gud and shared objects Karsten Ahnert
2012-12-27  3:54 ` Eli Zaretskii [this message]
     [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=83txr8m9p2.fsf@gnu.org \
    --to=eliz@gnu.org \
    --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.