This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/doc] Mention fork/exec catchpoints for GNU/Linux
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: drow at false dot org
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 30 Jan 2008 19:37:44 +0100 (CET)
- Subject: Re: [RFA/doc] Mention fork/exec catchpoints for GNU/Linux
- References: <20080129225353.GB21147@caradoc.them.org>
> Date: Tue, 29 Jan 2008 17:53:53 -0500
> From: Daniel Jacobowitz <drow@false.org>
>
> A straightforward update to the documentation. Eli, is this OK?
>
> --
> Daniel Jacobowitz
> CodeSourcery
>
> 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
>
> * doc/gdb.texinfo (Setting Catchpoints): Mention features
> supported on GNU/Linux.
>
> Index: doc/gdb.texinfo
> ===================================================================
> RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
> retrieving revision 1.460
> diff -u -p -r1.460 gdb.texinfo
> --- doc/gdb.texinfo 26 Jan 2008 19:14:18 -0000 1.460
> +++ doc/gdb.texinfo 29 Jan 2008 22:52:04 -0000
> @@ -3407,13 +3407,16 @@ A failed Ada assertion.
>
> @item exec
> @cindex break on fork/exec
> -A call to @code{exec}. This is currently only available for HP-UX.
> +A call to @code{exec}. This is currently only available for HP-UX
> +and @sc{gnu}/Linux.
>
> @item fork
> -A call to @code{fork}. This is currently only available for HP-UX.
> +A call to @code{fork}. This is currently only available for HP-UX
> +and @sc{gnu}/Linux.
>
> @item vfork
> -A call to @code{vfork}. This is currently only available for HP-UX.
> +A call to @code{vfork}. This is currently only available for HP-UX
> +and @sc{gnu}/Linux.
>
> @item load
> @itemx load @var{libname}
Hey, catch fork/vfork is supported on OpenBSD too! I'll submit a
follow-on diff once Daniel's gets committed ;).