Subject: idlelwp breaks gdb on amd64
To: None <current-users@netbsd.org>
From: Gary Duzan <gary@duzan.org>
List: current-users
Date: 05/19/2007 06:42:06
##########################################################################
/usr/src/obj.amd64/tooldir.NetBSD-4.99.17-x86_64/bin/x86_64--netbsd-gcc -O2  -Werror   -Wno-stack-protector -I/usr/src/gnu/usr.bin/gdb6/libgdb  -I/usr/src/gnu/usr.bin/gdb6/libgdb/../arch/x86_64  -I/usr/src/gnu/dist/gdb6/gdb  -I/usr/src/gnu/dist/gdb6/gdb/config  -I/usr/src/gnu/dist/gdb6/include/opcode  -I/usr/src/gnu/dist/gdb6  -I/usr/src/gnu/usr.bin/gdb6/libgdb/../bfd/arch/x86_64  -I/usr/src/gnu/dist/gdb6/bfd  -I/usr/src/gnu/dist/gdb6/include  -DLOCALEDIR="\"/usr/share/locale\"" -DHAVE_CONFIG_H -DMI_OUT=1 -DTUI=1   -nostdinc -isystem /usr/src/obj.amd64/destdir.amd64/usr/include -c    /usr/src/gnu/dist/gdb6/gdb/amd64nbsd-nat.c -o amd64nbsd-nat.o
/usr/src/gnu/dist/gdb6/gdb/amd64nbsd-nat.c: In function 'amd64nbsd_supply_pcb':
/usr/src/gnu/dist/gdb6/gdb/amd64nbsd-nat.c:101: error: 'struct switchframe' has no member named 'sf_rbp'
*** [amd64nbsd-nat.o] Error code 1
1 error

nbmake: stopped in /usr/src/gnu/usr.bin/gdb6/libgdb
##########################################################################

   It looks like sf_rbp went away in r1.8 of sys/arch/amd64/include/frame.h,
which was the idlelwp merge.

					Gary Duzan