catchpoint - bptype

Aleksandar Ristovski aristovski@qnx.com
Mon Apr 28 18:13:00 GMT 2008


Hello,

I need some input on the bptype enum, and catchpoint treatment:

Right now we internally treat some of them as bp_breakpoint and some as special bp_catch_*. Catchpoints "catch" and "throw" are treated as bp_breakpoint while others are treated as special types. For example "fork" is bp_catch_fork.

I see that bp_catch_catch and bp_catch_trhow were removed in Dec. 2007 and this confuses me a bit: what is the intention? To get rid of all bp_catch_*? 

Since bptype is used to give more specific detail about a breakpoint it makes sense to have bp_catch_catch and bp_catch_throw there. It would also make those two catchpoints first-class citizens again.

Thoughts? 

Thanks,

Aleksandar Ristovski
QNX Software Systems




More information about the Gdb mailing list