to execute a gdb script:
gdb -x script_file
This will allow gdb to execute the specified script_file. More flexible than the .gdbinit option.
In the script, functions can be defined:
def test_case1
b main
end
test_case1
Wednesday, May 26, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment