This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: /proc is high-efficient, why not use it?
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: vera0010 <vera0010 at sina dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Mon, 9 Jun 2003 09:19:04 -0400
- Subject: Re: /proc is high-efficient, why not use it?
- References: <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