List Info

Thread: Re: Anyone working on fixing gdb6 for amd64?




Re: Anyone working on fixing gdb6 for amd64?
country flaguser name
Sweden
2007-05-23 12:35:20
On Wed, 23 May 2007 09:55:59 -0700 (PDT)
Paul Goyette <paulwhooppee.com> wrote:

> This seems to have been going on for several days
now...
> 
> #   compile  libgdb/amd64nbsd-nat.o
> /usr/obj/tooldir/x86_64/amd64/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/obj/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
> 

I was just thinking the same thing. Here's a patch that
makes it
compile at least. It's based on what i386 does but I don't
know if
it works.

-T

  
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )