This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

catchpoint - bptype


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]