bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems in setting breakpoints


From: manoop
Subject: Problems in setting breakpoints
Date: Mon, 30 Jul 2001 04:34:07 -0500

Hello,

   When a user tries to put a breakpoint on a function which exists more
than once with the same
name (eg: dlopen in libdl.so), gdb sets the break point only on the one at
the highest address.
This may not be the one that gets linked in the user's program. So, in
effect, gdb will not stop at the
place where the user wanted.

One solution would be to set break points on all occourances of the
function name, when the user
uses the "break function-name" command.

Is this the right way to do this. Is there any other ideas?

Thanks and regards,
Anoop.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]