From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18749 invoked by alias); 16 Apr 2013 18:30:49 -0000 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 Received: (qmail 18738 invoked by uid 89); 16 Apr 2013 18:30:48 -0000 X-Spam-SWARE-Status: No, score=-7.2 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.1 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 16 Apr 2013 18:30:46 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r3GIUj1T018100 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 16 Apr 2013 14:30:45 -0400 Received: from brno.lan (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r3GIUihs009259 for ; Tue, 16 Apr 2013 14:30:44 -0400 Subject: [PATCH 0/6] thread_db.h issues. To: gdb-patches@sourceware.org From: Pedro Alves Date: Wed, 17 Apr 2013 00:32:00 -0000 Message-ID: <20130416183043.540.32214.stgit@brno.lan> User-Agent: StGit/0.16 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-SW-Source: 2013-04/txt/msg00499.txt.bz2 A user on IRC stumbled on PR build/11881, and confirmed the patch attached to the PR still fixes the issue on the GDB side. GDBserver remained broken though. Setting out to apply the PR11881 patch, I ended up fixing the GDBserver issues too. Tested on x86_64 Fedora 17 with and without system thread_db.h. I find the series sufficiently obvious that I went ahead and applied it. --- Pedro Alves (6): PR build/11881: LIBTHREAD_DB_SO can be undefined. Move glibc's fallback thread_db.h to a separate file. Update glibc_thread_db.h from upstream. copyright.py: Don't update glibc_thread_db.h. Fix remaining GDBserver issues with !HAVE_THREAD_DB_H. Only define 'struct lwp_info'::thread_known if using libthread-db. gdb/common/gdb_thread_db.h | 445 ----------------------------------------- gdb/common/glibc_thread_db.h | 458 ++++++++++++++++++++++++++++++++++++++++++ gdb/copyright.py | 1 gdb/gdbserver/Makefile.in | 8 - gdb/gdbserver/linux-low.h | 6 - 5 files changed, 466 insertions(+), 452 deletions(-) create mode 100644 gdb/common/glibc_thread_db.h -- Pedro Alves