This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
How to set default value of yquery and nquery
- From: Hui Zhu <teawater at gmail dot com>
- To: gdb at sourceware dot org
- Date: Tue, 23 Feb 2010 15:08:28 +0800
- Subject: How to set default value of yquery and nquery
Hi guys,
A people want set a lot of command with .gdbinit,
He want set a breakpoint to a solib before load it.
He just got:
Function "www2" not defined.
Make breakpoint pending on future shared library load? (y or [n])
[answered N; input not from terminal]
We can handle this issue with load solib before set breakpoint. But
does GDB have some ways to set default value with input not from
terminal?
Thanks,
Hui