From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21544 invoked by alias); 23 May 2014 08:32:27 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 21532 invoked by uid 89); 23 May 2014 08:32:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 23 May 2014 08:32:25 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1Wnktp-00001y-BJ from Yao_Qi@mentor.com ; Fri, 23 May 2014 01:32:21 -0700 Received: from SVR-ORW-FEM-05.mgc.mentorg.com ([147.34.97.43]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 23 May 2014 01:32:21 -0700 Received: from qiyao.dyndns.org (147.34.91.1) by svr-orw-fem-05.mgc.mentorg.com (147.34.97.43) with Microsoft SMTP Server id 14.2.247.3; Fri, 23 May 2014 01:31:34 -0700 Message-ID: <537F0705.3010807@codesourcery.com> Date: Fri, 23 May 2014 08:32:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Ajit Kumar Agarwal , "gdb-patches@sourceware.org" CC: Joel Brobecker , Michael Eager , Vinod Kathail , Vidhumouli Hunsigida , Nagaraju Mekala Subject: Re: [Patch, microblaze]: Add slr and shr regs References: In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2014-05/txt/msg00583.txt.bz2 On 05/23/2014 02:53 PM, Ajit Kumar Agarwal wrote: > +microblaze-linux.c : $(srcdir)/../regformats/reg-microblaze.dat $(regdat_sh) > + $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-microblaze.dat mips-linux.c ^^^^^^^^^^^^ Typo. > mips-dsp-linux.c : $(srcdir)/../regformats/mips-dsp-linux.dat $(regdat_sh) > $(SHELL) $(regdat_sh) $(srcdir)/../regformats/mips-dsp-linux.dat mips-dsp-linux.c > mips64-linux.c : $(srcdir)/../regformats/mips64-linux.dat $(regdat_sh) > diff --git a/gdb/regformats/reg-microblaze.dat b/gdb/regformats/reg-microblaze.dat > new file mode 100644 > index 0000000..936bc44 > --- /dev/null > +++ b/gdb/regformats/reg-microblaze.dat > @@ -0,0 +1,41 @@ > +name:microblaze > +expedite:r1,pc > +32:r0 The more important thing is microblaze-linux.c and reg-microblaze.dat should be generated by some .xml file in gdb/features/ directory. If that is intended, please add the .xml files, and generate the .c file and .dat file in regformats/ directory. -- Yao (齐尧)