From: Damir Cosic <damir@fatpipeinc.com>
To: linux-c-programming@vger.kernel.org
Subject: Re: Debugging a Process ...
Date: Fri, 25 Oct 2002 17:39:56 -0600 [thread overview]
Message-ID: <20021025233955.GA2186@snowbird.fatpipeinc.com> (raw)
In-Reply-To: <3DB86A25.5000109@uv.unitec.edu>
* find out PID of the process (man pidof)
* call gdb with name of the program you want to debug as an argument
* in gdb type `attach PID'
On Oct 10/24/02 15:46, Ivan Deras wrote:
> I want to know how to debug a process in Linux, i know that in Windows i
> can use Windows-API to attach a debugger process to the debugged
> process, but in Linux i don't know ...
next prev parent reply other threads:[~2002-10-25 23:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-24 21:46 Debugging a Process Ivan Deras
2002-10-25 23:39 ` Damir Cosic [this message]
2002-10-26 7:44 ` Steven Smith
2002-10-28 10:14 ` Ivan Deras
2002-10-31 15:16 ` Nat Ersoz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021025233955.GA2186@snowbird.fatpipeinc.com \
--to=damir@fatpipeinc.com \
--cc=linux-c-programming@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).