Problem building gdb with up-to-date sources
rjk at wintek.com
Mon Feb 7 22:03:39 UTC 2011
I just tried to run a buildworld for RELENG_8/amd64 after a fresh csup, and I'm
getting the following error:
/usr/src/gnu/usr.bin/gdb/libgdb/fbsd-threads.c: In function 'fbsd_thread_get_name':
/usr/src/gnu/usr.bin/gdb/libgdb/fbsd-threads.c:442: error: 'struct
ptrace_lwpinfo' has no member named 'pl_tdname'
I looked in /usr/src/sys/sys/ptrace.h, and 'pl_tdname' isn't there. Running 'cvs
log' on ptrace.h, though, shows:
date: 2010/11/22 14:42:13; author: attilio; state: Exp; lines: +2 -0
SVN rev 215679 on 2010-11-22 14:42:13Z by attilio
Add the ability for GDB to printout the thread name along with other
thread specific informations.
In order to do that, and in order to avoid KBI breakage with existing
infrastructure the following semantic is implemented:
- For live programs, a new member to the PT_LWPINFO is added (pl_tdname)
Any suggestions? I didn't see anything in /usr/src/UPDATING.
Thanks in advance!
Richard Kuhns <rjk at wintek.com> My Desk: 765-269-8541
Wintek Corporation Internet Support: 765-269-8503
427 N 6th Street STE C Consulting: 765-269-8504
Lafayette, IN 47901-2211 Accounting: 765-269-8502
More information about the freebsd-stable