recent changes to 8.0 broke the devel/gdb6 port
Mikhail T.
mi+thun at aldan.algebra.com
Sat Jun 13 15:13:14 UTC 2009
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
More information about the freebsd-current
mailing list