How can I delete breakpoint automatically?
scl
scl.sang@gmail.com
Mon Jan 21 07:28:00 GMT 2008
I write one hook command as below, when program stop at some
breakpoint, I want to delete the current breakpoint automatically.
define hookpost-continue
# check something intersting
delete current breakpoint # because huge calls, I must delete it!
end
Can I do that?
i know continue command will print one line such as
Breakpoint 5, dpb_split_field (fs=0x0) at mbuffer.c:2862
How can I use this information in hookpost-continue?
thanks a lot!
More information about the Gdb
mailing list