* gdbinit breakpoints
@ 2008-10-28 23:37 Russell Shaw
2008-10-28 23:48 ` Michael Snyder
0 siblings, 1 reply; 2+ messages in thread
From: Russell Shaw @ 2008-10-28 23:37 UTC (permalink / raw)
To: gdb
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?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: gdbinit breakpoints
2008-10-28 23:37 gdbinit breakpoints Russell Shaw
@ 2008-10-28 23:48 ` Michael Snyder
0 siblings, 0 replies; 2+ messages in thread
From: Michael Snyder @ 2008-10-28 23:48 UTC (permalink / raw)
To: Russell Shaw; +Cc: gdb
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-28 23:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-28 23:37 gdbinit breakpoints Russell Shaw
2008-10-28 23:48 ` Michael Snyder
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox