Date: Sat, 13 Jun 2009 11:13:11 -0400 From: "Mikhail T." <mi+thun@aldan.algebra.com> To: Kostik Belousov <kostikbel@gmail.com> Cc: pav@freebsd.org, current@freebsd.org Subject: Re: recent changes to 8.0 broke the devel/gdb6 port Message-ID: <4A33C207.6090209@aldan.algebra.com> In-Reply-To: <20090613113719.GC23592@deviant.kiev.zoral.com.ua> References: <4A32E0C8.2010701@aldan.algebra.com> <20090613113719.GC23592@deviant.kiev.zoral.com.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A33C207.6090209>