From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2338 invoked by alias); 19 Apr 2007 09:19:52 -0000 Received: (qmail 2330 invoked by uid 22791); 19 Apr 2007 09:19:51 -0000 X-Spam-Check-By: sourceware.org Received: from topsns2.0.225.230.202.in-addr.arpa (HELO topsns2.toshiba-tops.co.jp) (202.230.225.126) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 19 Apr 2007 10:19:45 +0100 Received: from topsms.toshiba-tops.co.jp by topsns2.toshiba-tops.co.jp via smtpd (for sourceware.org [209.132.176.174]) with ESMTP; Thu, 19 Apr 2007 18:19:44 +0900 Received: from topsms.toshiba-tops.co.jp (localhost.localdomain [127.0.0.1]) by localhost.toshiba-tops.co.jp (Postfix) with ESMTP id D445242234; Thu, 19 Apr 2007 18:19:41 +0900 (JST) Received: from srd2sd.toshiba-tops.co.jp (srd2sd.toshiba-tops.co.jp [172.17.28.2]) by topsms.toshiba-tops.co.jp (Postfix) with ESMTP id C1656420E7; Thu, 19 Apr 2007 18:19:41 +0900 (JST) Received: from localhost (fragile [172.17.28.65]) by srd2sd.toshiba-tops.co.jp (8.12.10/8.12.10) with ESMTP id l3J9JeW0091471; Thu, 19 Apr 2007 18:19:41 +0900 (JST) (envelope-from anemo@mba.ocn.ne.jp) Date: Thu, 19 Apr 2007 09:19:00 -0000 Message-Id: <20070419.181940.21590034.nemoto@toshiba-tops.co.jp> To: drow@false.org Cc: gdb@sourceware.org Subject: Re: generic error with a statically linked multithreaded program From: Atsushi Nemoto In-Reply-To: <20070406.183844.05598302.nemoto@toshiba-tops.co.jp> References: <20070405.233933.122593816.anemo@mba.ocn.ne.jp> <20070405144533.GA31862@caradoc.them.org> <20070406.183844.05598302.nemoto@toshiba-tops.co.jp> X-Fingerprint: 6ACA 1623 39BD 9A94 9B1A B746 CA77 FE94 2874 D52F X-Pgp-Public-Key: http://wwwkeys.pgp.net/pks/lookup?op=get&search=0x2874D52F X-Mailer: Mew version 5.2 on Emacs 21.4 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: 2007-04/txt/msg00121.txt.bz2 On Fri, 06 Apr 2007 18:38:44 +0900 (JST), Atsushi Nemoto wrote: > > > Is it http://sources.redhat.com/bugzilla/show_bug.cgi?id=2696, right? > > > > > > If so, the gdb patch mentioned in it is already merged in gdb 6.6? > > > > I think so, but I don't remember for sure. > > I tried the libc patch on MIPS and it works fine with gdbserver. > > But with MIPS native gdb, I got a little bit different error message: > thread_get_info_callback: cannot get thread info: generic error > > Do you have any thoughts on this error? ... > thread_get_info_callback: cannot get thread info: generic error I have tracked down this error and I found that your last patch titled "RFC: Handle early debugging in NPTL applications" (http://sourceware.org/ml/gdb-patches/2006-02/msg00496.html) is not merged yet. With this patch applied, I can debug NPTL static program with native gdb. --- Atsushi Nemoto