Date: Mon, 7 Feb 2011 16:53:13 -0500 From: Richard Kuhns <rjk@wintek.com> To: freebsd-stable@freebsd.org Subject: Problem building gdb with up-to-date sources Message-ID: <4D5069C9.20900@wintek.com>
next in thread | raw e-mail | index | archive | help
Hello, 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: revision 1.34 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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D5069C9.20900>