From: Michael Snyder <msnyder@vmware.com>
To: Russell Shaw <rjshaw@netspace.net.au>
Cc: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: gdbinit breakpoints
Date: Tue, 28 Oct 2008 23:48:00 -0000 [thread overview]
Message-ID: <4907A32E.9000101@vmware.com> (raw)
In-Reply-To: <4907A212.8020100@netspace.net.au>
Russell Shaw wrote:
> Hi,
> I set in .gdbinit many breakpoints that are in a dl-loaded library:
>
> b mem_terminate
> ...
>
> When starting gdb, i get:
>
> Make breakpoint pending on future shared library load? (y or [n]) [answered N;
> input not from terminal]
>
> Function "mem_terminate" not defined.
>
>
> How do i make it answer "y" automatically?
"set breakpoint pending on"
(gdb) help set breakpoint pending
Set debugger's behavior regarding pending breakpoints.
If on, an unrecognized breakpoint location will cause gdb to create a
pending breakpoint. If off, an unrecognized breakpoint location results in
an error. If auto, an unrecognized breakpoint location results in a
user-query to see if a pending breakpoint should be created.
prev parent reply other threads:[~2008-10-28 23:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-28 23:37 Russell Shaw
2008-10-28 23:48 ` Michael Snyder [this message]
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=4907A32E.9000101@vmware.com \
--to=msnyder@vmware.com \
--cc=gdb@sourceware.org \
--cc=rjshaw@netspace.net.au \
/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