This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
catchpoint - bptype
- From: Aleksandar Ristovski <aristovski at qnx dot com>
- To: gdb at sources dot redhat dot com
- Date: Mon, 28 Apr 2008 10:15:29 -0400
- Subject: 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