From: Michael Snyder <msnyder@vmware.com>
To: Mausoom Sarkar <list.msarkar@gmail.com>
Cc: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: Break whenever an application enters a given library
Date: Thu, 07 May 2009 17:17:00 -0000 [thread overview]
Message-ID: <4A031574.6040704@vmware.com> (raw)
In-Reply-To: <6c288c860905070203u799d766bid9fa2ebb04c6e98e@mail.gmail.com>
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?
next prev parent reply other threads:[~2009-05-07 17:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-07 9:03 Mausoom Sarkar
2009-05-07 17:17 ` Michael Snyder [this message]
2009-05-08 0:19 ` Paul Pluzhnikov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A031574.6040704@vmware.com \
--to=msnyder@vmware.com \
--cc=gdb@sourceware.org \
--cc=list.msarkar@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox