This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: cannot step into class member function in dlopen'ed library
- From: Tom Tromey <tromey at redhat dot com>
- To: Brian Budge <brian dot budge at gmail dot com>
- Cc: gdb at sourceware dot org
- Date: Wed, 03 Mar 2010 15:18:27 -0700
- Subject: Re: cannot step into class member function in dlopen'ed library
- References: <5b7094581003021317t4ddd71f3wb5e426fc1aa3af5a@mail.gmail.com>
- Reply-to: tromey at redhat dot com
>>>>> "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