* linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope
[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
0 siblings, 1 reply; 2+ messages in thread
From: Slobodan Vidovic via gdb @ 2017-03-07 14:20 UTC (permalink / raw)
To: gdb
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
linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:102: error: 'FPC_CSR' was not declared in this scope
linux-mips-low.c:102: error: 'FPC_EIR' was not declared in this scope
linux-mips-low.c:107: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:107: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:107: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:107: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:107: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:107: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:107: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:107: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:107: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:107: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:107: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:107: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:107: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:107: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:107: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:107: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:107: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:107: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:107: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:107: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:107: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:107: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:107: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:107: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:107: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:107: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:107: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:107: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:107: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:107: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:107: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:107: error: 'FPR_BASE' was not declared in this scope
linux-mips-low.c:107: error: 'FPC_CSR' was not declared in this scope
linux-mips-low.c:107: error: 'FPC_EIR' was not declared in this scope
Makefile:263: recipe for target 'linux-mips-low.o' failed
make: *** [linux-mips-low.o] Error 1
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope
2017-03-07 14:20 ` linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope Slobodan Vidovic via gdb
@ 2017-03-07 15:20 ` Yao Qi
0 siblings, 0 replies; 2+ messages in thread
From: Yao Qi @ 2017-03-07 15:20 UTC (permalink / raw)
To: Slobodan Vidovic; +Cc: GDB
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 (齐尧)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-03-07 15:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <464461614.343295.1488896429095.ref@mail.yahoo.com>
2017-03-07 14:20 ` linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope Slobodan Vidovic via gdb
2017-03-07 15:20 ` Yao Qi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox