This is the mail archive of the gdb@sources.redhat.com 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: Breakpoints in the library code


Roland Zerek wrote:

Użytkownik Kris Warkentin napisał:

It's possible that the symbols are not loaded. After stopping within the program, type 'info shared' to see if the symbol table is loaded for the dll. If not, you can type 'shared' to load them.


Well, libraries are loaded at the beginning - info shared says that. Any other ideas, please???

Hmm. Well, if it's not recognizing the name of the method, you might want to try setting the breakpoint by filename:line number. (ie foo.cc:73). If that works, then when you hit the breakpoint, you can do a backtrace and see what gdb thinks the name of the method is.


cheers,

Kris


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