This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/6] thread_db.h issues.
- From: Pedro Alves <palves at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 16 Apr 2013 19:30:44 +0100
- Subject: [PATCH 0/6] thread_db.h issues.
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