Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA/doc] Mention fork/exec catchpoints for GNU/Linux
@ 2008-01-29 23:17 Daniel Jacobowitz
  2008-01-30  4:16 ` Eli Zaretskii
  2008-01-30 18:44 ` Mark Kettenis
  0 siblings, 2 replies; 6+ messages in thread
From: Daniel Jacobowitz @ 2008-01-29 23:17 UTC (permalink / raw)
  To: gdb-patches

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}


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [RFA/doc] Mention fork/exec catchpoints for GNU/Linux
  2008-01-29 23:17 [RFA/doc] Mention fork/exec catchpoints for GNU/Linux Daniel Jacobowitz
@ 2008-01-30  4:16 ` Eli Zaretskii
  2008-01-30 13:15   ` Daniel Jacobowitz
  2008-01-30 18:44 ` Mark Kettenis
  1 sibling, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2008-01-30  4:16 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: gdb-patches

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

Yes, thanks.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [RFA/doc] Mention fork/exec catchpoints for GNU/Linux
  2008-01-30  4:16 ` Eli Zaretskii
@ 2008-01-30 13:15   ` Daniel Jacobowitz
  0 siblings, 0 replies; 6+ messages in thread
From: Daniel Jacobowitz @ 2008-01-30 13:15 UTC (permalink / raw)
  To: gdb-patches

On Wed, Jan 30, 2008 at 06:07:54AM +0200, Eli Zaretskii wrote:
> > 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?
> 
> Yes, thanks.

Checked in.

-- 
Daniel Jacobowitz
CodeSourcery


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [RFA/doc] Mention fork/exec catchpoints for GNU/Linux
  2008-01-29 23:17 [RFA/doc] Mention fork/exec catchpoints for GNU/Linux Daniel Jacobowitz
  2008-01-30  4:16 ` Eli Zaretskii
@ 2008-01-30 18:44 ` Mark Kettenis
  2008-01-30 18:53   ` Daniel Jacobowitz
  1 sibling, 1 reply; 6+ messages in thread
From: Mark Kettenis @ 2008-01-30 18:44 UTC (permalink / raw)
  To: drow; +Cc: gdb-patches

> 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 ;).


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [RFA/doc] Mention fork/exec catchpoints for GNU/Linux
  2008-01-30 18:44 ` Mark Kettenis
@ 2008-01-30 18:53   ` Daniel Jacobowitz
  2008-01-30 19:25     ` Mark Kettenis
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Jacobowitz @ 2008-01-30 18:53 UTC (permalink / raw)
  To: Mark Kettenis; +Cc: gdb-patches

On Wed, Jan 30, 2008 at 07:37:44PM +0100, Mark Kettenis wrote:
> Hey, catch fork/vfork is supported on OpenBSD too!  I'll submit a
> follow-on diff once Daniel's gets committed ;).

Are you sure catch vfork works?  Nothing in inf-ptrace.c generates
TARGET_WAITKIND_VFORKED - looks like I searched for that instead of
..._FORKED.

-- 
Daniel Jacobowitz
CodeSourcery


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [RFA/doc] Mention fork/exec catchpoints for GNU/Linux
  2008-01-30 18:53   ` Daniel Jacobowitz
@ 2008-01-30 19:25     ` Mark Kettenis
  0 siblings, 0 replies; 6+ messages in thread
From: Mark Kettenis @ 2008-01-30 19:25 UTC (permalink / raw)
  To: drow; +Cc: mark.kettenis, gdb-patches

> Date: Wed, 30 Jan 2008 13:44:24 -0500
> From: Daniel Jacobowitz <drow@false.org>
> 
> On Wed, Jan 30, 2008 at 07:37:44PM +0100, Mark Kettenis wrote:
> > Hey, catch fork/vfork is supported on OpenBSD too!  I'll submit a
> > follow-on diff once Daniel's gets committed ;).
> 
> Are you sure catch vfork works?  Nothing in inf-ptrace.c generates
> TARGET_WAITKIND_VFORKED - looks like I searched for that instead of
> ..._FORKED.

Heh, it doesn't.  I rmember now that the vfork semantics made things a
little bit difficult, and that I didn't add support for it in the
kernel.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-01-30 19:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-29 23:17 [RFA/doc] Mention fork/exec catchpoints for GNU/Linux Daniel Jacobowitz
2008-01-30  4:16 ` Eli Zaretskii
2008-01-30 13:15   ` Daniel Jacobowitz
2008-01-30 18:44 ` Mark Kettenis
2008-01-30 18:53   ` Daniel Jacobowitz
2008-01-30 19:25     ` Mark Kettenis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox