List Info

Thread: How can I delete breakpoint automatically?




How can I delete breakpoint automatically?
user name
2008-01-21 01:27:44
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!

Re: How can I delete breakpoint automatically?
user name
2008-01-21 02:17:21
 > I write one hook command as below, when program stop
at some
 > breakpoint, I want to delete the current breakpoint
automatically.

Use tbreak?

-- 
Nick                                           http://www.inet.net.n
z/~nickrob

Re: How can I delete breakpoint automatically?
user name
2008-01-21 02:37:37
yes, tbreak is ok

thanks


On Jan 21, 2008 4:17 PM, Nick Roberts <nickrobsnap.net.nz> wrote:
>  > I write one hook command as below, when program
stop at some
>  > breakpoint, I want to delete the current
breakpoint automatically.
>
> Use tbreak?
>
> --
> Nick                                           http://www.inet.net.n
z/~nickrob
>

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )