set args /home/shlomi/conf/bugs/kde/font-break.txt
b IA__FcFontMatch
r pre>However, I get the following:
shlomi:~/progs/bugs-external/kde/font-breaking$gdb --command=cmds.gdb ...
GNU gdb 6.8-2mdv2009.0 (Mandriva Linux release 2009.0)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.< br />This GDB was configured as "i586-mandriva-linux-gnu"...
(no debugging symbols found)
Function "IA__FcFontMatch" not defined.
Make breakpoint pending on future shared library load? (y or [n]) [answered N; input not from terminal]So it does not set breakpoints after all. How to make it answer "y" by default "To set a breakpoint on pending future shared library loading?
I remember what I can do, but I don’t remember what it is.
(gdb) apropos pending
actions - Specify the actions to be taken at a tracepoint
set breakpoint - Breakpoint specific settings
set breakpoint pending - Set debugger's behavior regarding pending breakpoints
show breakpoint - Breakpoint specific settings
show breakpoint pending - Show debugger's behavior regarding pending breakpoints
So set a breakpoint to wait for the trick; it is used in cmds.gdb, for example
set breakpoint pending on
break
I am trying to use the --command flag to automate the gdb session. I am trying to share Set breakpoints on functions in the library (Unix equivalent DLL). My cmds.gdb looks like this:
set args /home/shlomi/conf /bugs/kde/font-break.txt
b IA__FcFontMatch
r
However, I get the following:
shlomi :~/progs/bugs-external/kde/font-breaking$gdb --command=cmds.gdb...
GNU gdb 6.8-2mdv2009.0 (Mandriva Linux release 2009.0)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i586-mandriva-linux-gnu". ..
(no debugging symbols found)
Function "IA__FcFontMatch" not defined.
Make breakpoint pending on future shared library load? (y or [n]) [answered N; input not from terminal]
So it does not set breakpoints after all. How can I make it answer "y" by default to set breakpoints when future shared library loads are suspended?
I remember what I can do, but I don’t remember what it is.
To answer myself, I want to give someone a The answer to me on IRC:
(gdb) apropos pending
actions - Specify the actions to be taken at a tracepoint
set breakpoint - Breakpoint specific settings
set breakpoint pending - Set debugger's behavior regarding pending breakpoints
show breakpoint - Breakpoint specific settings
show breakpoint pending - Show debugger's behavior regarding pending breakpoints
So set breakpoint wait trick; it is used in cmds.gdb, for example
set breakpoint pending on
break