From: Yao Qi <qiyaoltc@gmail.com>
To: Slobodan Vidovic <vidovic.slobodan@yahoo.com>
Cc: GDB <gdb@sourceware.org>
Subject: Re: linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope
Date: Tue, 07 Mar 2017 15:20:00 -0000 [thread overview]
Message-ID: <CAH=s-POYivYmwr3gPLoRQjp0Qquhb3X8FB5tRJ74VNEau+MBYg@mail.gmail.com> (raw)
In-Reply-To: <464461614.343295.1488896429095@mail.yahoo.com>
On Tue, Mar 7, 2017 at 2:20 PM, Slobodan Vidovic via gdb
<gdb@sourceware.org> wrote:
> Hi, I'm trying to cross compile gdbserver for mips platform but Im getting an error, so after
>
> $ ./configure --host=mips-linux
>
> I'm getting
>
> ./include -I./../gnulib/import -Ibuild-gnulib-gdbserver/import -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wno-sign-compare -Wno-write-strings -Wformat-nonliteral -DGDBSERVER -c -o linux-mips-low.o -MT linux-mips-low.o -MMD -MP -MF .deps/linux-mips-low.Tpo linux-mips-low.c
> linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope
What is your compiler?
We define it in gdb/mips-linux-tdep.h,
/* 0 - 31 are integer registers, 32 - 63 are fp registers. */
#define FPR_BASE 32
but I don't know why is that.
--
Yao (齐尧)
prev parent reply other threads:[~2017-03-07 15:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <464461614.343295.1488896429095.ref@mail.yahoo.com>
2017-03-07 14:20 ` Slobodan Vidovic via gdb
2017-03-07 15:20 ` Yao Qi [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='CAH=s-POYivYmwr3gPLoRQjp0Qquhb3X8FB5tRJ74VNEau+MBYg@mail.gmail.com' \
--to=qiyaoltc@gmail.com \
--cc=gdb@sourceware.org \
--cc=vidovic.slobodan@yahoo.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox