Re: recent changes to 8.0 broke the devel/gdb6 port

From: Mikhail T. <mi+thun_at_aldan.algebra.com>
Date: Sat, 13 Jun 2009 11:13:11 -0400
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
Received on Sat Jun 13 2009 - 13:13:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:49 UTC