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: Break whenever an application enters a given library


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?


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