From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Keith Seitz Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] breakpoint.c: don't generate bp events for internal bps Date: Fri, 11 May 2001 18:56:00 -0000 Message-id: <3AFC984A.8070005@cygnus.com> References: X-SW-Source: 2001-05/msg00258.html Keith, I think the patch is filtering things at the wrong level. If Insight doesn't want to know about certain breakpoints then it should discard them. You probably also want to check ui-out.h and defs.h:gdb_breakpoint_query(). Andrew > +/* Is this breakpoint interesting to a user interface? */ > +#define REPORT_BREAKPOINT_EVENT(bp) \ > +((bp)->type == bp_breakpoint \ > + || (bp)->type == bp_hardware_breakpoint \ > + || (bp)->type == bp_watchpoint \ > + || (bp)->type == bp_hardware_watchpoint \ > + || (bp)->type == bp_read_watchpoint \ > + || (bp)->type == bp_access_watchpoint) > + > /* Set breakpoint count to NUM. */ BTW, macro's are bad, M'kay! Andrew