From 224bbe4936351478a98079135e84f1d7fff224ec Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Sun, 14 Aug 2011 12:43:38 +0000 Subject: [PATCH] gdb/doc/ * gdb.texinfo (Standard Target Features): Document C6x features. (TIC6x Features): New node. gdb/ * features/Makefile (WHICH): Add tic6x-c64xp tic6x-c64x tic6x-c62x tic6x-c64xp-linux tic6x-c64x-linux and tic6x-c62x-linux. * features/tic6x-c6xp.xml, features/tic6x-core.xml: New. * features/tic6x-gp.xml, features/tic6x-c62x.xml: New. * features/tic6x-c64x.xml, features/tic6x-c64xp.xml: New. * features/tic6x-c62x-linux.xml, features/tic6x-c64x-linux.xml: New. * features/tic6x-c64xp-linux.xml: New. * features/tic6x-c64xp.c, features/tic6x-c64x.c: Generated. * features/tic6x-c62x.c, features/tic6x-c64xp-linux.c: Generated. * features/tic6x-c64x-linux.c, features/tic6x-c62x-linux.c: Generated. * regformats/tic6x-c62x.dat, regformats/tic6x-c64x.dat: Generated. * regformats/tic6x-c64xp.dat, regformats/tic6x-c62x-linux.dat: Generated. * regformats/tic6x-c64x-linux.dat, regformats/tic6x-c64xp-linux.dat: Generated. * config/djgpp/fnchange.lst: Add features/tic6x-*.xml and features/tic6x-*.c files. Add regformats/tic6x-*.dat files. --- gdb/ChangeLog | 20 ++++++++++++++++++++ gdb/config/djgpp/fnchange.lst | 24 ++++++++++++++++++++++++ gdb/doc/ChangeLog | 5 +++++ gdb/doc/gdb.texinfo | 16 ++++++++++++++++ gdb/features/Makefile | 10 +++++++++- 5 files changed, 74 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index da7777e5434..d6db027bf5b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,23 @@ +2011-08-14 Yao Qi + + Target description for tic6x. + * features/Makefile (WHICH): Add tic6x-c64xp tic6x-c64x tic6x-c62x + tic6x-c64xp-linux tic6x-c64x-linux and tic6x-c62x-linux. + * features/tic6x-c6xp.xml, features/tic6x-core.xml: New. + * features/tic6x-gp.xml, features/tic6x-c62x.xml: New. + * features/tic6x-c64x.xml, features/tic6x-c64xp.xml: New. + * features/tic6x-c62x-linux.xml, features/tic6x-c64x-linux.xml: New. + * features/tic6x-c64xp-linux.xml: New. + * features/tic6x-c64xp.c, features/tic6x-c64x.c: Generated. + * features/tic6x-c62x.c, features/tic6x-c64xp-linux.c: Generated. + * features/tic6x-c64x-linux.c, features/tic6x-c62x-linux.c: Generated. + * regformats/tic6x-c62x.dat, regformats/tic6x-c64x.dat: Generated. + * regformats/tic6x-c64xp.dat, regformats/tic6x-c62x-linux.dat: Generated. + * regformats/tic6x-c64x-linux.dat, regformats/tic6x-c64xp-linux.dat: Generated. + * config/djgpp/fnchange.lst: Add features/tic6x-*.xml and + features/tic6x-*.c files. + Add regformats/tic6x-*.dat files. + 2011-08-12 Doug Evans * NEWS: Mention new "type" attribute of python gdb.Symbol objects. diff --git a/gdb/config/djgpp/fnchange.lst b/gdb/config/djgpp/fnchange.lst index 4b86c314a13..c2f14cfe7b8 100644 --- a/gdb/config/djgpp/fnchange.lst +++ b/gdb/config/djgpp/fnchange.lst @@ -240,6 +240,21 @@ @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.xml @V@/gdb/features/c6x-62x.xml +@V@/gdb/features/tic6x-c64x.xml @V@/gdb/features/c6x-64x.xml +@V@/gdb/features/tic6x-c64xp.xml @V@/gdb/features/c6xc64xp.xml +@V@/gdb/features/tic6x-c64xp.c @V@/gdb/features/c6xc64xp.c +@V@/gdb/features/tic6x-c64x.c @V@/gdb/features/c6x-64x.c +@V@/gdb/features/tic6x-c62x.c @V@/gdb/features/c6x-62x.c +@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 +356,12 @@ @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.dat @V@/gdb/regformats/c6x-62x.dat +@V@/gdb/regformats/tic6x-c64x.dat @V@/gdb/regformats/c6x-64x.dat +@V@/gdb/regformats/tic6x-c64xp.dat @V@/gdb/regformats/c6xc64xp.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 +389,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/ChangeLog b/gdb/doc/ChangeLog index f9baf488cec..74bf56e8b4c 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2011-08-14 Yao Qi + + * gdb.texinfo: (Standard Target Features): Document C6x features. + (TIC6x Features): New node. + 2011-08-12 Doug Evans * gdb.texinfo (Symbols In Python): Document symbol.type. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 3157ccb5bbe..aa6327ed68c 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -36959,6 +36959,7 @@ registers using the capitalization used in the description. * MIPS Features:: * M68K Features:: * PowerPC Features:: +* TIC6x Features:: @end menu @@ -37120,6 +37121,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 diff --git a/gdb/features/Makefile b/gdb/features/Makefile index 4e8e7ee6e82..e0bfc3db580 100644 --- a/gdb/features/Makefile +++ b/gdb/features/Makefile @@ -41,7 +41,9 @@ WHICH = arm-with-iwmmxt arm-with-vfpv2 arm-with-vfpv3 arm-with-neon \ rs6000/powerpc-32l rs6000/powerpc-altivec32l rs6000/powerpc-e500l \ rs6000/powerpc-64l rs6000/powerpc-altivec64l rs6000/powerpc-vsx32l \ rs6000/powerpc-vsx64l rs6000/powerpc-cell32l rs6000/powerpc-cell64l \ - s390-linux32 s390-linux64 s390x-linux64 + s390-linux32 s390-linux64 s390x-linux64 \ + tic6x-c64xp tic6x-c64x tic6x-c62x \ + tic6x-c64xp-linux tic6x-c64x-linux tic6x-c62x-linux # Record which registers should be sent to GDB by default after stop. arm-expedite = r11,sp,pc @@ -63,6 +65,12 @@ rs6000/powerpc-cell64l-expedite = r1,pc,r0,orig_r3,r4 s390-linux32-expedite = r14,r15,pswa s390-linux64-expedite = r14l,r15l,pswa s390x-linux64-expedite = r14,r15,pswa +tic6x-c64xp-expedite = A15,PC +tic6x-c64x-expedite = A15,PC +tic6x-c62x-expedite = A15,PC +tic6x-c64xp-linux-expedite = A15,PC +tic6x-c64x-linux-expedite = A15,PC +tic6x-c62x-linux-expedite = A15,PC XSLTPROC = xsltproc -- 2.30.2