From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13691 invoked by alias); 2 Sep 2011 21:24:49 -0000 Received: (qmail 13682 invoked by uid 22791); 2 Sep 2011 21:24:48 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 02 Sep 2011 21:24:33 +0000 Received: (qmail 6613 invoked from network); 2 Sep 2011 21:24:32 -0000 Received: from unknown (HELO scottsdale.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 2 Sep 2011 21:24:32 -0000 From: Pedro Alves To: gdb@sourceware.org Subject: Re: fail to attach to process on Solaris Date: Fri, 02 Sep 2011 21:24:00 -0000 User-Agent: KMail/1.13.6 (Linux/2.6.38-11-generic; KDE/4.7.0; x86_64; ; ) Cc: "Burkhardt, Glenn" References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201109022224.29804.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-09/txt/msg00011.txt.bz2 On Monday 22 August 2011 16:05:10, Burkhardt, Glenn wrote: > I can't seem to attach to a process that's running multiple threads. > Any help is appreciated. I've included the print output from the whole > session, but the problem is the line: > > procfs: couldn't find pid 15719 (kernel thread 67) in procinfo list. Been a while since I looked at the solaris backend, so I can't help much off hand. I'm affraid you'll need to debug this yourself. Starting with "set debug infrun 1" may help. I'd start by understanding why does gdb think 67 should be in the list. -- Pedro Alves