This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v5 2/3] MI: document the -catch-load/-unload commands
> From: Mircea Gherzan <mircea.gherzan@intel.com>
> Cc: keven.boell@intel.com, mircea.gherzan@intel.com, marc.khouzam@ericsson.com, tromey@redhat.com, vladimir@codesourcery.com
> Date: Mon, 26 Nov 2012 17:34:11 +0100
>
> 2012-11-16 Mircea Gherzan <mircea.gherzan@intel.com>
>
> gdb/doc:
> * gdb.texinfo: add a section for catchpoints.
Please name the section, as if it were a function. Like this:
* gdb.texinfo (GDB/MI Catchpoint Commands): New section.
> +@section @sc{gdb/mi} Catchpoint Commands
^^
Extra blank.
> +@smallexample
> + -catch-load [ -t ] [ -d ] @var{regexp}
> +@end smallexample
> +
> +Add a catchpoint for library load events. If the @samp{-t} option is used,
> +the catchpoint is a temporary one (@pxref{Set Breaks, ,Setting
> +Breakpoints}). If the @samp{-d} option is used, the catchpoint is created
> +in a disabled state.
Please describe here the "regexp" argument.
> +@smallexample
> + -catch-unload [ -t ] [ -d ] @var{regexp}
> +@end smallexample
> +
> +Add a catchpoint for library unload events. If the @samp{-t} option is
> +used, the catchpoint is a temporary one (@pxref{Set Breaks, ,Setting
> +Breakpoints}). If the @samp{-d} option is used, the catchpoint is
> +created in a disabled state.
Likewise.
I think this should be mentioned in NEWS as well.
Thanks.