From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18963 invoked by alias); 2 Sep 2009 16:47:33 -0000 Received: (qmail 18944 invoked by uid 22791); 2 Sep 2009 16:47:31 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 02 Sep 2009 16:47:27 +0000 Received: (qmail 27070 invoked from network); 2 Sep 2009 16:47:25 -0000 Received: from unknown (HELO orlando.local) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 2 Sep 2009 16:47:25 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: [patch] Allow gdbserver to dynamically lookup libthread_db.so.1 Date: Wed, 02 Sep 2009 16:47:00 -0000 User-Agent: KMail/1.9.10 Cc: Paul Pluzhnikov , dje@google.com References: <20090902163344.833F476568@localhost> In-Reply-To: <20090902163344.833F476568@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909021747.27651.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-09/txt/msg00059.txt.bz2 Since you're touching this, how about loading a thread_db per-process like gdb/linux-thread-db.c already does? Did you intend to remove this? > - /* If the thread layer is not (yet) initialized, fail. */ > - if (!get_thread_process (thread)->all_symbols_looked_up) > - return TD_ERR; > - > -AC_PREREQ(2.59)dnl > +AC_PREREQ(2.64)dnl This should be a separate change. -- Pedro Alves