help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gud and shared objects


From: Eli Zaretskii
Subject: Re: gud and shared objects
Date: Thu, 27 Dec 2012 05:54:17 +0200

> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]