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

Re: [rfa] restructure breakpoint.c:breakpoint_1()


I've added ...

> OK, but could you:
>   1) Supply a header comment for your new function, and


/* Return non-zero if B is user settable (breakpoints, watchpoints,
    catchpoints, et.al.). */

>   2) While you're at it, update the comment header for breakpoint_1?
> I notice that it refers to a parameter that no longer exists, while
> failing to describe the "allflag" parameter.


/* Print information on user settable breakpoint (watchpoint, etc)
    number BNUM.  If BNUM is -1 print all user settable breakpoints.
    If ALLFLAG is non-zero, include non- user settable breakpoints. */

Andrew



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