xtensa: fix target gdb build and 64-bit host side gdb
authorChris Zankel <chris@zankel.net>
Tue, 20 Nov 2012 08:43:59 +0000 (08:43 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 21 Nov 2012 10:14:24 +0000 (11:14 +0100)
commitc28e15debff2078f4ef1b123e9a047a0cad2c18a
tree3a5ff0b58835583a6bd0410e248d30f4b1516729
parentfdd5bc948ed5fa3d14f9bfa09968f8216fb08ae1
xtensa: fix target gdb build and 64-bit host side gdb

Fix build breakage, use the version of the ptrace header file in asm
instead of sys. Also, fix GDB running on 64 bit hosts. GDB was using
unsigned long for 32-bit registers, but unsigned long is 64 bit on
64-bit hosts.

Signed-off-by: Chris Zankel <chris@zankel.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
toolchain/gdb/7.4.1/xtensa-asm-ptrace-h.patch [new file with mode: 0644]
toolchain/gdb/7.4.1/xtensa-gdb-regsize.patch [new file with mode: 0644]