This is the mail archive of the gdb-patches@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]

Re: [4/6] make catchpoints a bit more OO: catch exec


>>>>> "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


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