diff options
author | Daniel Jacobowitz <drow@false.org> | 2007-10-15 19:58:17 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2007-10-15 19:58:17 +0000 |
commit | 30ed0a8f0b4557aeb8bbbeee1bb1904bc45f747e (patch) | |
tree | d3b93b11841ac4a7c2290eed5ce5b92964790369 /gdb/features | |
parent | 310a98e10257728271c1d3b817f7bfeb5c3cb88f (diff) | |
download | gdb-30ed0a8f0b4557aeb8bbbeee1bb1904bc45f747e.zip gdb-30ed0a8f0b4557aeb8bbbeee1bb1904bc45f747e.tar.gz gdb-30ed0a8f0b4557aeb8bbbeee1bb1904bc45f747e.tar.bz2 |
* Makefile.in (clean): Remove new files.
(powerpc-32.o, powerpc-32.c, powerpc-e500.o, powerpc-e500.c)
(powerpc-64.o, powerpc-64.c): New rules.
* configure.srv: Use alternate register sets for powerpc64-*-linux*
with AltiVec, powerpc-*-linux* with AltiVec, and powerpc-*-linux*
with SPE.
* linux-ppc-low.c (ppc_regmap): Do not fetch the FP registers for
SPE targets.
(ppc_cannot_store_register): Do not check for FPSCR for SPE targets.
(PTRACE_GETVRREGS, PTRACE_SETVRREGS, SIZEOF_VRREGS, ppc_fill_vrregset)
(ppc_store_vrregset, PTRACE_GETEVRREGS, PTRACE_SETEVRREGS)
(struct gdb_evrregset_t, ppc_fill_evrregset, ppc_store_evrregset): New.
(target_regsets): Add AltiVec and SPE register sets.
* configure.ac: Check for AltiVec and SPE.
* linux-ppc64-low.c (PTRACE_GETVRREGS, PTRACE_SETVRREGS, SIZEOF_VRREGS)
(ppc_fill_vrregset, ppc_store_vrregset): New.
(target_regsets): Add AltiVec register set.
* configure: Regenerated.
* features/Makefile (WHICH): Add PowerPC register definitions.
(rs6000/powerpc-32-expedite, rs6000/powerpc-e500-expedite)
(rs6000/powerpc-64-expedite): New macros.
($(outdir)/%.dat): Handle subdirectories.
* regformats/rs6000/powerpc-32.dat, regformats/rs6000/powerpc-64.dat,
regformats/rs6000/powerpc-e500.dat: New generated files.
Diffstat (limited to 'gdb/features')
-rw-r--r-- | gdb/features/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/gdb/features/Makefile b/gdb/features/Makefile index b81c1b8..ab8a1a1 100644 --- a/gdb/features/Makefile +++ b/gdb/features/Makefile @@ -31,12 +31,16 @@ # in the GDB repository. To generate C files: # make GDB=/path/to/gdb XMLTOC="xml files" cfiles -WHICH = arm-with-iwmmxt mips-linux mips64-linux +WHICH = arm-with-iwmmxt mips-linux mips64-linux \ + rs6000/powerpc-32 rs6000/powerpc-e500 rs6000/powerpc-64 # Record which registers should be sent to GDB by default after stop. arm-with-iwmmxt-expedite = r11,sp,pc mips-linux-expedite = r29,pc mips64-linux-expedite = r29,pc +rs6000/powerpc-32-expedite = r1,pc +rs6000/powerpc-e500-expedite = r1,pc +rs6000/powerpc-64-expedite = r1,pc XSLTPROC = xsltproc outdir = ../regformats @@ -50,9 +54,9 @@ all: $(OUTPUTS) $(outdir)/%.dat: %.xml number-regs.xsl sort-regs.xsl gdbserver-regs.xsl echo "# DO NOT EDIT: generated from $<" > $(outdir)/$*.tmp - echo "name:`echo $* | sed 's/-/_/g'`" >> $(outdir)/$*.tmp + echo "name:`echo $(notdir $*) | sed 's/-/_/g'`" >> $(outdir)/$*.tmp echo "expedite:$($*-expedite)" >> $(outdir)/$*.tmp - $(XSLTPROC) --xinclude number-regs.xsl $< | \ + $(XSLTPROC) --path "$(PWD)" --xinclude number-regs.xsl $< | \ $(XSLTPROC) sort-regs.xsl - | \ $(XSLTPROC) gdbserver-regs.xsl - >> $(outdir)/$*.tmp sh ../../move-if-change $(outdir)/$*.tmp $(outdir)/$*.dat |