This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug build/13014] New: member th is only added to struct lwp_info ifHAVE_THREAD_DB_H defined, but code doesnt check
- From: "wkor97gy0eef1fr at p dot mintemail.com"<sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 21 Jul 2011 20:17:51 +0000
- Subject: [Bug build/13014] New: member th is only added to struct lwp_info ifHAVE_THREAD_DB_H defined, but code doesnt check
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=13014
Summary: member th is only added to struct lwp_info if
HAVE_THREAD_DB_H defined, but code doesnt check
Product: gdb
Version: 7.2
Status: NEW
Severity: normal
Priority: P2
Component: build
AssignedTo: unassigned@sourceware.org
ReportedBy: wkor97gy0eef1fr@p.mintemail.com
thread-db.c: In function `find_one_thread':
thread-db.c:293: warning: long int format, thread_t arg (arg 3)
thread-db.c:316: error: structure has no member named `th'
line 316 (uncoditional access):
lwp->th = th;
is defined earlier in the function as
struct lwp_info *lwp;
definiton in
./gdb/gdbserver/linux-low.h (line 245)
#ifdef HAVE_THREAD_DB_H
/* The thread handle, used for e.g. TLS access. Only valid if
THREAD_KNOWN is set. */
td_thrhandle_t th;
#endif
there is no code in the Makefile, configure, or any source file that defines
this symbol.
note, compilation was done on a system using musl libc.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.