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: breakpoints in shared libraries


> From: Florian Hackenberger <f.hackenberger@chello.at>
> Date: Tue, 14 Feb 2006 17:29:09 +0100
> 
> That tells me:
> 1. The breakpoint was set.
> 2. The breakpoint did not work, as I can see the output "Make the axis unit." 
> and that's the line where my breakpoint was supposed to interrupt the 
> execution.
> 
> So that's the problem. Can anyone help me?

So the breakpoint was set at the wrong location, either because the
line number information generated by the compiler is wrong or GDB
doesn't interpret it right.  Can you post the output of

$ readline -w LIB

where LIB is the shared library containing the code you're trying to
debug?

Mark


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