Break whenever an application enters a given library

Michael Snyder msnyder@vmware.com
Thu May 7 17:17:00 GMT 2009


Mausoom Sarkar wrote:
> Hi,
> 
>     I want gdb to break whenever calls are made to functions within a
> particular library. How can I set such a library level breakpoint?

In general, you can't.
Maybe set an access watchpoint on the library's whole text section?



More information about the Gdb mailing list