All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ivan Deras <ideras@uv.unitec.edu>
To: Steven Smith <sos22@cam.ac.uk>
Cc: linux-c-programming@vger.kernel.org
Subject: Re: Debugging a Process ...
Date: Mon, 28 Oct 2002 04:14:18 -0600	[thread overview]
Message-ID: <3DBD0DFA.8000107@uv.unitec.edu> (raw)
In-Reply-To: <3DB86A25.5000109@uv.unitec.edu>

This is very helpful for me ... Thanks ...

Steven Smith 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 ...
>>    
>>
>If you want to attach an existing debugger, look at the documentation
>for that debugger (in gdb, it's ``gdb <program_name> <pid of program>'').
>If you're thinking of writing your own, have a look at man ptrace.
>This isn't the clearest of documents, so you may want to have a look
>at the source to a few programs which use it, like gdb, strace, or
>ltrace, before starting on your own.
>
>Steven Smith,
>sos22@cam.ac.uk.
>  
>


  parent reply	other threads:[~2002-10-28 10:14 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
2002-10-26  7:44 ` Steven Smith
2002-10-28 10:14 ` Ivan Deras [this message]
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=3DBD0DFA.8000107@uv.unitec.edu \
    --to=ideras@uv.unitec.edu \
    --cc=linux-c-programming@vger.kernel.org \
    --cc=sos22@cam.ac.uk \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.