From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14306 invoked by alias); 27 Jul 2011 10:43:24 -0000 Received: (qmail 14296 invoked by uid 22791); 27 Jul 2011 10:43:23 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 27 Jul 2011 10:43:07 +0000 Received: (qmail 1331 invoked from network); 27 Jul 2011 10:43:06 -0000 Received: from unknown (HELO ?192.168.0.101?) (yao@127.0.0.2) by mail.codesourcery.com with ESMTPA; 27 Jul 2011 10:43:06 -0000 Message-ID: <4E2FEBB6.9040106@codesourcery.com> Date: Wed, 27 Jul 2011 12:32:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110617 Lightning/1.0b2 Thunderbird/3.1.11 MIME-Version: 1.0 To: Eli Zaretskii CC: pedro@codesourcery.com, gdb-patches@sourceware.org Subject: Re: [RFA 6/8] New port: TI C6x: gdbserver References: <4E2638CE.7050205@codesourcery.com> <201107211213.41018.pedro@codesourcery.com> <4E2D18F3.6080006@codesourcery.com> <201107261844.13460.pedro@codesourcery.com> <4E2F89D4.7050401@codesourcery.com> <4E2FB795.3050207@codesourcery.com> In-Reply-To: Content-Type: multipart/mixed; boundary="------------080904030506040009060909" X-IsSubscribed: yes 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 X-SW-Source: 2011-07/txt/msg00758.txt.bz2 This is a multi-part message in MIME format. --------------080904030506040009060909 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-length: 631 On 07/27/2011 06:10 PM, Eli Zaretskii wrote: >> > gdb/doc/ >> > * gdb.texinfo (Standard Target Features): Document C6x features. > Please add > (TIC6x Features): New node. > Added. >> > +@V@/gdb/features/tic6x-core.xml @V@/gdb/features/tic6x-gp.xml >> > +@V@/gdb/features/tic6x-c6xp.xml @V@/gdb/features/tic6x-c62x-linux.xml > These entries cause a file on the left to be renamed to the name on > the right when the tarball is unpacked. The new names should not > clash after 8+3 truncation. So the added entries are incorrect. > Looks like I misunderstood this file. Fixed in new patch. -- Yao (齐尧) --------------080904030506040009060909 Content-Type: text/x-patch; name="0005-target-description.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0005-target-description.patch" Content-length: 3935 gdb/doc/ * gdb.texinfo (Standard Target Features): Document C6x features. (TIC6x Features): New node. gdb/ * config/djgpp/fnchange.lst: Add features/tic6x-*.xml and features/tic6x-*.c files. Add regformats/tic6x-*-linux.dat files. Add tic6x-tdep.c, tic6x-tdep.h and tic6x-linux-tdep.c. --- gdb/config/djgpp/fnchange.lst | 15 +++++ gdb/doc/gdb.texinfo | 16 ++++++ diff --git a/gdb/config/djgpp/fnchange.lst b/gdb/config/djgpp/fnchange.lst index 4b86c31..941abb2 100644 --- a/gdb/config/djgpp/fnchange.lst +++ b/gdb/config/djgpp/fnchange.lst @@ -240,6 +240,15 @@ @V@/gdb/features/i386/i386-mmx.c @V@/gdb/features/i386/i32-m.c @V@/gdb/features/i386/i386-mmx-linux.xml @V@/gdb/features/i386/i32-ml.xml @V@/gdb/features/i386/i386-mmx.xml @V@/gdb/features/i386/i32-m.xml +@V@/gdb/features/tic6x-core.xml @V@/gdb/features/c6x-core.xml +@V@/gdb/features/tic6x-gp.xml @V@/gdb/features/c6x-gp.xml +@V@/gdb/features/tic6x-c6xp.xml @V@/gdb/features/c6x-c6xp.xml +@V@/gdb/features/tic6x-c62x-linux.xml @V@/gdb/features/c6x-62xl.xml +@V@/gdb/features/tic6x-c64x-linux.xml @V@/gdb/features/c6x-64xl.xml +@V@/gdb/features/tic6x-c64xp-linux.xml @V@/gdb/features/c6x64xpl.xml +@V@/gdb/features/tic6x-c64xp-linux.c @V@/gdb/features/c6x64xpl.c +@V@/gdb/features/tic6x-c64x-linux.c @V@/gdb/features/c6x-64xl.c +@V@/gdb/features/tic6x-c62x-linux.c @V@/gdb/features/c6x-62xl.c @V@/gdb/f-exp.tab.c @V@/gdb/f-exp_tab.c @V@/gdb/gdbserver/linux-cris-low.c @V@/gdb/gdbserver/lx-cris.c @V@/gdb/gdbserver/linux-crisv32-low.c @V@/gdb/gdbserver/lx-cris32.c @@ -341,6 +350,9 @@ @V@/gdb/regformats/rs6000/powerpc-vsx64l.dat @V@/gdb/regformats/rs6000/ppc-v64l.dat @V@/gdb/regformats/rs6000/powerpc-cell32l.dat @V@/gdb/regformats/rs6000/ppc-c32l.dat @V@/gdb/regformats/rs6000/powerpc-cell64l.dat @V@/gdb/regformats/rs6000/ppc-c64l.dat +@V@/gdb/regformats/tic6x-c62x-linux.dat @V@/gdb/regformats/c6x-62xl.dat +@V@/gdb/regformats/tic6x-c64x-linux.dat @V@/gdb/regformats/c6x-64xl.dat +@V@/gdb/regformats/tic6x-c64xp-linux.dat @V@/gdb/regformats/c6x64xpl.dat @V@/gdb/remote-e7000.c @V@/gdb/rmt-e7000.c @V@/gdb/remote-est.c @V@/gdb/rmt-est.c @V@/gdb/remote-mips.c @V@/gdb/rmt-mips.c @@ -368,6 +380,9 @@ @V@/gdb/sparc-linux-tdep.c @V@/gdb/splx-tdep.c @V@/gdb/sparc-sol2-nat.c @V@/gdb/spsol2-nat.c @V@/gdb/sparc-sol2-tdep.c @V@/gdb/spsol2-tdep.c +@V@/gdb/tic6x-tdep.c @V@/gdb/c6x-tdep.c +@V@/gdb/tic6x-tdep.h @V@/gdb/c6x-tdep.h +@V@/gdb/tic6x-linux-tdep.c @V@/gdb/c6xl-tdep.c @V@/gdb/testsuite/.gdbinit @V@/gdb/testsuite/gdb.ini @V@/gdb/testsuite/gdb.arch/altivec-abi.c @V@/gdb/testsuite/gdb.arch/av-abi.c @V@/gdb/testsuite/gdb.arch/altivec-abi.exp @V@/gdb/testsuite/gdb.arch/av-abi.exp diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 37c81b8..b5b6c74 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -36854,6 +36854,7 @@ registers using the capitalization used in the description. * MIPS Features:: * M68K Features:: * PowerPC Features:: +* TIC6x Features:: @end menu @@ -37015,6 +37016,21 @@ contain registers @samp{ev0h} through @samp{ev31h}, @samp{acc}, and these to present registers @samp{ev0} through @samp{ev31} to the user. +@node TIC6x Features +@subsection TMS320C6x Features +@cindex target descriptions, TIC6x features +@cindex target descriptions, TMS320C6x features +The @samp{org.gnu.gdb.tic6x.core} feature is required for TMS320C6x +targets. It should contain registers @samp{A0} through @samp{A15}, +registers @samp{B0} through @samp{B15}, @samp{CSR} and @samp{PC}. + +The @samp{org.gnu.gdb.tic6x.gp} feature is optional. It should +contain registers @samp{A16} through @samp{A31} and @samp{B16} +through @samp{B31}. + +The @samp{org.gnu.gdb.tic6x.c6xp} feature is optional. It should +contain registers @samp{TSR}, @samp{ILC} and @samp{RILC}. + @node Operating System Information @appendix Operating System Information @cindex operating system information --------------080904030506040009060909--