This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: breakpoints in shared libraries
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: f dot hackenberger at chello dot at
- Cc: gdb at sourceware dot org
- Date: Tue, 14 Feb 2006 18:08:38 +0100 (CET)
- Subject: Re: breakpoints in shared libraries
- References: <200602141729.09355.f.hackenberger@chello.at>
> 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