public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: vera0010 <vera0010@sina.com>
Cc: gdb@sources.redhat.com
Subject: Re: /proc is high-efficient, why not use it?
Date: Mon, 09 Jun 2003 13:19:00 -0000	[thread overview]
Message-ID: <20030609131904.GA30691@nevyn.them.org> (raw)
In-Reply-To: <20030609072110.27976.qmail@sina.com>

On Mon, Jun 09, 2003 at 03:21:10PM +0800, vera0010 wrote:
> Hello!
> 
> I have read gdb-5.3 source. I know it uses primarily on x86/alpha linux platform.
> 
> But a debugger can only debug the unique process, not more processes simultaneously.

That is incorrect.  GDB can debug any number of physical processes at
once.  However, GDB only supports this when they are threads of the
same program.

> I think it is more likely because Linux kernel doesn't support /proc interface for gdb. 

The kernel does not support a /proc debugging interface.  That's true,
but not important.

> 
> I want to debug 2~4 processes with a single gdb on SMP Linux.
> Can you give me a help? 
> 
>                                            Wang.
> 
> ______________________________________
> 
> ===================================================================
> ¶©·Ç³£Ð¦»°³é´ó½± ²ÊÆÁÊÖ»úÒ»ÌìÒ»²¿! (http://sms.sina.com.cn/act/fcxhhd.html)
> 

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

  reply	other threads:[~2003-06-09 13:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-09  7:21 vera0010
2003-06-09 13:19 ` Daniel Jacobowitz [this message]
2003-06-09 14:18   ` Andrew Cagney

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=20030609131904.GA30691@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=gdb@sources.redhat.com \
    --cc=vera0010@sina.com \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).