Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] gdbserver for xtensa compilation error fix
@ 2012-11-22 12:42 Vadim Malenboim
  2012-11-22 12:56 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Vadim Malenboim @ 2012-11-22 12:42 UTC (permalink / raw)
  To: buildroot

gdbserver compilation failed with :

rojects/xtensa-linux/JerryLinuxFP/buildroot/output/toolchain/gdb-7.3.1/gdb/gdbserver/linux-xtensa-low.c:137:5:
error: 'PTRACE_GETXTREGS' undeclared here (not in a function)
/projects/xtensa-linux/JerryLinuxFP/buildroot/output/toolchain/gdb-7.3.1/gdb/gdbserver/linux-xtensa-low.c:137:23:
error: 'PTRACE_SETXTREGS' undeclared here (not in a function)
make[1]: *** [linux-xtensa-low.o] Error 1
make[1]: *** Waiting for unfinished jobs....

fixed by modifying :

gdb/gdbserver/linux-xtensa-low.c line 26 :

from #include <sys/ptrace.h>
to #include <asm/ptrace.h>

-- 
     * Vadim Malenboim.*
      Low Level Software Engineer.

      Cellular : +972(544)925862
      E-Mail   : vadim at tangotec.com
      WEB     : www.tangotec.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121122/0a46712e/attachment.html>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-22 12:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-22 12:42 [Buildroot] gdbserver for xtensa compilation error fix Vadim Malenboim
2012-11-22 12:56 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox