This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [4/6] make catchpoints a bit more OO: catch exec
- From: Tom Tromey <tromey at redhat dot com>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 21 Jun 2011 10:44:11 -0600
- Subject: Re: [4/6] make catchpoints a bit more OO: catch exec
- References: <201106202123.01154.pedro@codesourcery.com>
>>>>> "Pedro" == Pedro Alves <pedro@codesourcery.com> writes:
Pedro> +/* Initialize a new breakpoint of the bp_catchpoint kind. If TEMPFLAG
Pedro> + is non-zero, then make the breakpoint temporary. If COND_STRING is
Pedro> + not NULL, then store it in the breakpoint. OPS, if not NULL, is
Pedro> + the breakpoint_ops structure associated to the catchpoint. */
Pedro> +
Pedro> +/* An instance of this type is used to represent an exec catchpoint.
Pedro> + It includes a "struct breakpoint" as a kind of base class; users
Pedro> + downcast to "struct breakpoint *" when needed. A breakpoint is
Pedro> + really of this type iff its ops pointer points to
Pedro> + CATCH_EXEC_BREAKPOINT_OPS. */
Pedro> +
I think that first comment is misplaced.
Tom