This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog common/gdb_thread_db.h
- From: palves at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: Tue, 16 Apr 2013 18:12:14 +0000
- Subject: src/gdb ChangeLog common/gdb_thread_db.h
CVSROOT: /cvs/src
Module name: src
Changes by: palves@sourceware.org 2013-04-16 18:12:14
Modified files:
gdb : ChangeLog
gdb/common : gdb_thread_db.h
Log message:
PR build/11881: LIBTHREAD_DB_SO can be undefined.
This patch:
http://sourceware.org/ml/gdb-patches/2009-04/msg00115.html
Changed behaviour by only defining LIBTHREAD_DB_SO if thread_db.h exists. The
definition of LIBTHREAD_DB_SO and LIBTHREAD_DB_SEARCH_PATH should be moved
outside of #ifdef HAVE_THREAD_DB_H.
This is based on a patch attached to the PR, however, it needed a
tweak, as it was it broke the HAVE_THREAD_DB_H path.
2013-04-16 Will Newton <will.newton@gmail.com>
Pedro Alves <palves@redhat.com>
PR build/11881
* common/gdb_thread_db.h (LIBTHREAD_DB_SO)
(LIBTHREAD_DB_SEARCH_PATH): Move outside of #ifdef
HAVE_THREAD_DB_H.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15422&r2=1.15423
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/common/gdb_thread_db.h.diff?cvsroot=src&r1=1.4&r2=1.5