From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 109880 invoked by alias); 7 Mar 2017 15:20:58 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 109865 invoked by uid 89); 7 Mar 2017 15:20:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.0 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=Hx-languages-length:925, DGDBSERVER, Slobodan, UD:linux-mips-low.o X-HELO: mail-qk0-f178.google.com Received: from mail-qk0-f178.google.com (HELO mail-qk0-f178.google.com) (209.85.220.178) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 07 Mar 2017 15:20:56 +0000 Received: by mail-qk0-f178.google.com with SMTP id y76so8944379qkb.0 for ; Tue, 07 Mar 2017 07:20:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=fqm4blqhbiAUBVZnrnDClZXk1rD4talCXiYGKpeA6CE=; b=AvdUcp1WsHGSMp8dtKEivIj3BlMYcRF4F4IqavX3K/BeeDxi2MSeqeCmoj83H75dLF AEdXp3d49tiXDpgziXF39ykeyj4duPcw9II09/C8Y0bUJ8O9eQcJPyiTk59KU7lbV4Fg NIbE9UV+DE9vnQll/OKPZ0XJ8D7G++cEkeEAUcqOwX96rNKYuG5GqEyMRq33JTz/XtND w+6BNkg33kr/12L90/R9YZdaARer4r+z2W4qe/lv7A8Q13jHzkEwwsVe3GK6BCiDP7y4 4EyRE3wr3HgYqYbQpdoNqNlNizI3NQ5ss5bOUYug0Lt+Qud2IT6XnujTg97ZlIPamCZr 3GkA== X-Gm-Message-State: AMke39ln7iAB0LQv1l9mnPD/+irBKdiqvWm0UkT3wwAzTGyTenC2776JK/gNKXIHdugIQY2awpc15t1+Fzo0SQ== X-Received: by 10.200.45.59 with SMTP id n56mr988403qta.137.1488900055592; Tue, 07 Mar 2017 07:20:55 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.140.194 with HTTP; Tue, 7 Mar 2017 07:20:55 -0800 (PST) In-Reply-To: <464461614.343295.1488896429095@mail.yahoo.com> References: <464461614.343295.1488896429095.ref@mail.yahoo.com> <464461614.343295.1488896429095@mail.yahoo.com> From: Yao Qi Date: Tue, 07 Mar 2017 15:20:00 -0000 Message-ID: Subject: Re: linux-mips-low.c:102: error: 'FPR_BASE' was not declared in this scope To: Slobodan Vidovic Cc: GDB Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2017-03/txt/msg00007.txt.bz2 On Tue, Mar 7, 2017 at 2:20 PM, Slobodan Vidovic via gdb wrote: > Hi, I'm trying to cross compile gdbserver for mips platform but Im gettin= g an error, so after > > $ ./configure --host=3Dmips-linux > > I'm getting > > ./include -I./../gnulib/import -Ibuild-gnulib-gdbserver/import -Wall -Wp= ointer-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 -M= P -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. --=20 Yao (=E9=BD=90=E5=B0=A7)