Skip navigation.
 
mlRe: How do I set a breakpoints at a symbol in dylib?
FROM : Hiroshi Saito
DATE : Sun Apr 03 16:48:57 2005

I am replying to my question.

I couldn't get just the resolution of my question, but I could be into a
function of foo.a in A.dylib in my case.
In this case, the function (I called it foo()) calls C++ virtual
function bar().
I set a breakpoint at a bar() which is only in A.dylib. So, I could
be debugging my application.

Thanks,
--
  Hiroshi

On Mar 29, 2005, at 20:02, Hiroshi Saito wrote:

> Hi,
>
> For example;
> Here is a application My.app which is made by foo.a and main.c
> My.app loads A.dylib which is made by foo.a and bar.a, using two-level
> name space.
> I would like to break at a symbol of foo.a which is called by a symbol
> of bar.a.
> When I try to set a breakpoint of a symbol of foo.a, gdb set the
> breakpoint at the symbol in the My.app.
>
> How do I set a breakpoints at a symbol in A.dylib?
> Is this a FAQ? I couldn't find via Google.
>
> Thanks,
> --
>  Hiroshi Saito

Related mailsAuthorDate
mlHow do I set a breakpoints at a symbol in dylib? Hiroshi Saito Mar 29, 13:02
mlRe: How do I set a breakpoints at a symbol in dylib? Hiroshi Saito Apr 3, 16:48