Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Fork/exec
@ 2009-06-06  8:45 Russell Shaw
  2009-06-06 14:17 ` Fork/exec Russell Shaw
  0 siblings, 1 reply; 2+ messages in thread
From: Russell Shaw @ 2009-06-06  8:45 UTC (permalink / raw)
  To: gdb

Hi,
In ddd, i have:

   follow-fork-mode child
   detach-on-fork on


In some C code, i do:

   execlp(path, path, (char *)NULL)


but the new program doesn't appear in the ddd window (on debian Xorg).

How do i do that?


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

* Re: Fork/exec
  2009-06-06  8:45 Fork/exec Russell Shaw
@ 2009-06-06 14:17 ` Russell Shaw
  0 siblings, 0 replies; 2+ messages in thread
From: Russell Shaw @ 2009-06-06 14:17 UTC (permalink / raw)
  To: gdb

Russell Shaw wrote:
> Hi,
> In ddd, i have:
> 
>   follow-fork-mode child
>   detach-on-fork on
> 
> 
> In some C code, i do:
> 
>   execlp(path, path, (char *)NULL)
> 
> 
> but the new program doesn't appear in the ddd window (on debian Xorg).
> 
> How do i do that?

Found it in 4.10 of manual.


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

end of thread, other threads:[~2009-06-06 14:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-06  8:45 Fork/exec Russell Shaw
2009-06-06 14:17 ` Fork/exec Russell Shaw

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