This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cannot step into class member function in dlopen'ed library


>>>>> "Brian" == Brian Budge <brian.budge@gmail.com> writes:

Brian> I'm having trouble stepping into a class member function in a
Brian> dlopen'ed library.  I've ensured that the library is built and linked
Brian> by g++ with the -g option.  When I couldn't step in, I tried putting a
Brian> breakpoint in the source of the library by line number.  gdb does
Brian> break there, but complains that there are no line numbers available.

Brian> Strangely, it seems that I've been able to step in before, but now I
Brian> can't.  Has anyone encountered this, and if so, is there a good
Brian> solution?

This doesn't ring any bells for me.

If you can come up with a simple, self-contained test case, that would
help.  File it in bugzilla, and be sure to report version of gdb, what
platform you are on, and what version of g++ you used.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]