🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #10228

NOT a bug report; tracing child execution w/gdb

#10228
From: Brendan B. Boerner
Date: Thu, 02 Nov 1989 15:35
16 lines
1186 bytes
This is not a bug report but I am not aware of any other gdb
newsgroups.


How does one follow the execution of a child process using gdb
following a fork() in UN*X 4.2BSD?  Currently, the debugger always
continues execution w/the parent process.  It makes sense that it does
this, but I would like to somehow debug the child's process.

Thanks,
Brendan
--
Brendan B. Boerner		Phone: 512/471-3241
Microcomputer Technologies	The University of Texas @ Austin
Internet: boerner@emx.utexas.edu     UUCP: ...!cs.utexas.edu!ut-emx!boerner
BITNET:   CCGB001@UTXVM.BITNET 	AppleLink: boerner@emx.utexas.edu@DASNET#
Technical Details
Message-ID: <20392@ut-emx.UUCP>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!cs.utexas.edu!ut-emx!boerner

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5053,93d5e017ce38c476,start
X-Google-Attributes: gidf5053,public
X-Google-ArrivalTime: 1989-11-02 05:31:25 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!cs.utexas.edu!ut-emx!boerner
From: boerner@ut-emx.UUCP (Brendan B. Boerner)
Newsgroups: gnu.gdb.bug
Subject: NOT a bug report; tracing child execution w/gdb
Message-ID: <20392@ut-emx.UUCP>
Date: 2 Nov 89 15:35:36 GMT
Organization: UT Austin Computation Center, Microcomputer Services
Lines: 16
Posted: Thu Nov  2 16:35:36 1989