All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] gdbserver for xtensa compilation error fix
Date: Thu, 22 Nov 2012 13:56:47 +0100	[thread overview]
Message-ID: <20121122135647.5a36ed29@skate> (raw)
In-Reply-To: <CAJH6qScXgb_N9dUizhoXjzZ2eYp50poNHhrk2SQK=OCPoGBXXg@mail.gmail.com>

Dear Vadim Malenboim,

On Thu, 22 Nov 2012 14:42:32 +0200, Vadim Malenboim wrote:
> 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>

Thanks. This is already fix in Git by:
http://git.buildroot.net/buildroot/commit/?id=c28e15debff2078f4ef1b123e9a047a0cad2c18a

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

      reply	other threads:[~2012-11-22 12:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-22 12:42 [Buildroot] gdbserver for xtensa compilation error fix Vadim Malenboim
2012-11-22 12:56 ` Thomas Petazzoni [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121122135647.5a36ed29@skate \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.