From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12632 invoked by alias); 7 Dec 2001 12:05:54 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 12520 invoked from network); 7 Dec 2001 12:05:49 -0000 Received: from unknown (HELO netmail2.alcatel.com) (128.251.168.51) by sources.redhat.com with SMTP; 7 Dec 2001 12:05:49 -0000 Received: from auds953.usa.alcatel.com (auds953.usa.alcatel.com [143.209.238.6]) by netmail2.alcatel.com (8.9.1/8.9.1) with ESMTP id GAA14708; Fri, 7 Dec 2001 06:05:49 -0600 (CST) Received: from alcatel.com (localhost [127.0.0.1]) by auds953.usa.alcatel.com (8.10.2/8.10.2) with ESMTP id fB7C5jN08503; Fri, 7 Dec 2001 06:05:45 -0600 (CST) Message-ID: <3C11454B.1EFCB4AC@alcatel.com> Date: Fri, 07 Dec 2001 04:05:00 -0000 From: Prabha Suresh Reply-To: Prabha.Venkatachalam@alcatel.com Organization: Axes Technologies (I)Pvt.Ltd X-Mailer: Mozilla 4.6 [en] (X11; I; SunOS 5.7 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: Ranjan Parthasarathy CC: gdb@sources.redhat.com Subject: Re: Attaching to an already running process on gdb 5.1 References: <200112061902.fB6J2UU02671@mrelay2.alcatel.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2001-12/txt/msg00076.txt.bz2 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? > > Thanks > > Ranjan I did find the same problem,the error is as follows #0 0x12e6f0 in ?? () #1 0x93cb8 in pstruct () #2 0x94544 in pstruct () #3 0x9476c in pstruct () #4 0x949fc in pstruct () #5 0x94ca4 in pstruct () #6 0xf3e6c in ?? () #7 0xad33c in pstruct () #8 0x76204 in pstruct () #9 0xca65c in ?? () #10 0x839a0 in pstruct () #11 0x840b8 in pstruct () #12 0x187828 in ?? () #13 0x8313c in pstruct () #14 0x83844 in pstruct () #15 0xe7a48 in ?? () #16 0xe73c0 in ?? () #17 0xe7410 in ?? () #18 0xc97a8 in ?? () #19 0xe744c in ?? () #20 0x83228 in pstruct () #21 0x4f320 in strstream::~strstream (this=0x0, __in_chrg=324344) at ../../../src/libio/iostream.h:230 #22 0xc97a8 in ?? () #23 0x4fdf4 in __ptmd_type_info::~__ptmd_type_info (this=0x0, __in_chrg=0) at ../../src/gcc/cp/tinfo2.cc:459 #24 0xc97a8 in ?? () #25 0x5000c in bad_cast type_info function () at /homes/diwilson/cygnus/all-builds/native-00r1-solaris/obj/gcc/include/typeinfo:1209 Is there any patches have been put up in the latest release,i use GNU gdb 5.0-gnupro-00r1 for Solaris 2.7 version -- Prabha -- ************* Leadership is action,not the position *****************