From owner-freebsd-current@FreeBSD.ORG Sat Jun 13 15:13:13 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 821891065672; Sat, 13 Jun 2009 15:13:13 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.freebsd.org (Postfix) with ESMTP id 338AA8FC1A; Sat, 13 Jun 2009 15:13:13 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) Received: from aldan.algebra.com (localhost [127.0.0.1]) by aldan.algebra.com (8.14.3/8.14.3) with ESMTP id n5DFDCoF060345; Sat, 13 Jun 2009 11:13:12 -0400 (EDT) (envelope-from mi+thun@aldan.algebra.com) Message-ID: <4A33C207.6090209@aldan.algebra.com> Date: Sat, 13 Jun 2009 11:13:11 -0400 From: "Mikhail T." User-Agent: Thunderbird 2.0.0.21 (X11/20090407) MIME-Version: 1.0 To: Kostik Belousov References: <4A32E0C8.2010701@aldan.algebra.com> <20090613113719.GC23592@deviant.kiev.zoral.com.ua> In-Reply-To: <20090613113719.GC23592@deviant.kiev.zoral.com.ua> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Sat, 13 Jun 2009 16:59:11 +0000 Cc: pav@freebsd.org, current@freebsd.org Subject: Re: recent changes to 8.0 broke the devel/gdb6 port X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Jun 2009 15:13:14 -0000 Kostik Belousov ΞΑΠΙΣΑΧ(ΜΑ): > On Fri, Jun 12, 2009 at 07:12:08PM -0400, Mikhail T. wrote: > >> The full log is here: >> >> http://pointyhat.FreeBSD.org/errorlogs/amd64-errorlogs/a.8.20090611213544/gdb-6.6_1.log >> >> >> but it ends with: >> >> [...] >> cc -c -O2 -pipe -DRL_NO_COMPAT -fno-strict-aliasing -I. -I.././gdb -I.././gdb/config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I.././gdb/../include/opcode -I../bfd -I.././gdb/../bfd -I.././gdb/../include -DMI_OUT=1 -DTUI=1 -I/usr/local/include -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wformat-nonliteral -Wunused-label -Wunused-function -Wno-pointer-sign -Wuninitialized amd64fbsd-nat.c >> amd64fbsd-nat.c: In function 'amd64fbsd_supply_pcb': >> amd64fbsd-nat.c:128: error: 'struct pcb' has no member named 'pcb_ds' >> amd64fbsd-nat.c:129: error: 'struct pcb' has no member named 'pcb_es' >> amd64fbsd-nat.c:130: error: 'struct pcb' has no member named 'pcb_fs' >> amd64fbsd-nat.c:131: error: 'struct pcb' has no member named 'pcb_gs' >> gmake[2]: *** [amd64fbsd-nat.o] Error 1 >> gmake[2]: Leaving directory `/work/a/ports/devel/gdb6/work/gdb-6.6/gdb' >> gmake[1]: *** [all-gdb] Error 2 >> gmake[1]: Leaving directory `/work/a/ports/devel/gdb6/work/gdb-6.6' >> gmake: *** [all] Error 2 >> *** Error code 1 >> >> >> What happened? Thanks! Yours, >> > > Place to keep curthread segment registers values was changed from MD > pcb to the struct trapframe filled on kernel entry. Required changes > were made to the struct reg that is returned by ptrace(PT_GETREGS) and > written into the core dump. > > This was r190620 committed Apr 1. > Could someone, please, send me a patch, which I can add to the port (and forward to gdb-developers)? Thanks! -mi