This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Attaching to an already running process on gdb 5.1
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Ranjan Parthasarathy <Ranjan dot Parthasarathy at efi dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Thu, 6 Dec 2001 15:38:14 -0500
- Subject: Re: Attaching to an already running process on gdb 5.1
- References: <E16C3gA-0003Dx-00@crack.them.org>
On Thu, Dec 06, 2001 at 10:55:13AM -0800, Ranjan Parthasarathy wrote:
> Can anyone let me know as to whether attach on already running ( multi
> threaded processes works on gdb 5.1 ). I have tried the attach with a non
> threaded program but trying to attach to a multi threaded ( pthreads ) fails.
>
> Is there an option which I am missing or is this broken?
A patch regarding this went in after 5.1. Try the CVS head branch.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer