This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA][0/5] New port: Cell BE SPU
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: gdb-patches at sourceware dot org
- Date: Sat, 11 Nov 2006 19:36:49 +0100 (CET)
- Subject: [RFA][0/5] New port: Cell BE SPU
Hello,
the following set of patches adds support for the Cell Broadband Engine SPU
target. The Cell BE chip contains nine cores, one PowerPC core and eight
SPE cores (supporting the SPU architecture).
The existing powerpc GDB targets work fine on the Cell BE PPU (PowerPC) core.
This set of patches add a new SPU target that allows debugging a stand-alone
application running only on an SPU core. (We also have a set of patches that
allows to debug multi-threaded multi-architecure applications with some
threads running on the PPU and some on the SPU, but this isn't ready for
including in mainline GDB at this time).
The patches are:
[1/5]: A dwarf2loc.c fix required for the SPU port to work.
[2/5]: A valops.c fix that fixes a bunch of testcase failures on SPU.
[3/5]: The new SPU port.
[4/5]: gdbserver support for the SPU port.
[5/5]: Some testsuite tweaks.
With all five applied, I'm currently getting testsuite results as shown
below. (Note that the store.exp FAILs are due to a gcc problem generating
incorrect DWARF at this time. Most of the others appear to be generic
problems, I'm seeing them on s390 too.)
If the SPU port is accepted, I would be happy to act as maintainer.
Bye,
Ulrich
Target is spu-unknown-elf
Host is powerpc64-unknown-linux-gnu
=== gdb tests ===
Running target unix
WARNING: Assuming target board is the local machine (which is probably wrong).
FAIL: gdb.base/chng-syms.exp: running with invalidated bpt condition after executable changes
FAIL: gdb.base/completion.exp: complete 'info'
FAIL: gdb.base/completion.exp: complete 'info '
FAIL: gdb.base/define.exp: test ifnospace is parsed correctly
FAIL: gdb.base/define.exp: test whilenospace is parsed correctly
FAIL: gdb.base/long_long.exp: p/a *(short *)s
FAIL: gdb.base/maint.exp: help maint print
FAIL: gdb.base/maint.exp: help maint
FAIL: gdb.base/store.exp: var charest l; print incremented l, expecting 2 ..002.
FAIL: gdb.base/store.exp: var short l; print incremented l, expecting 2
FAIL: gdb.base/store.exp: continue to add_charest
FAIL: gdb.base/store.exp: continue to add_short
FAIL: gdb.base/store.exp: continue to add_int
FAIL: gdb.base/store.exp: continue to add_long
FAIL: gdb.base/store.exp: continue to add_longest
FAIL: gdb.base/store.exp: continue to add_float
FAIL: gdb.base/store.exp: continue to add_double
FAIL: gdb.base/store.exp: continue to add_doublest
FAIL: gdb.cp/annota2.exp: watch triggered on a.x
FAIL: gdb.cp/annota3.exp: watch triggered on a.x
FAIL: gdb.cp/inherit.exp: ptype tagless struct
FAIL: gdb.cp/inherit.exp: print type of anonymous union // unrecognized line type 1: class_with_anon_union::._0;
FAIL: gdb.cp/maint.exp: help maintenance cplus
FAIL: gdb.cp/maint.exp: help maint cp
FAIL: gdb.cp/maint.exp: maint cp
FAIL: gdb.mi/mi-watch.exp: wp out of scope (2)
FAIL: gdb.mi/mi2-watch.exp: wp out of scope (2)
WARNING: 20
FAIL: gdb.trace/tracecmd.exp: 1.0: help tracepoints
=== gdb Summary ===
# of expected passes 9116
# of unexpected failures 28
# of expected failures 41
# of known failures 56
# of untested testcases 9
# of unsupported tests 38
/home/uweigand/fsf/gdb-head-build/gdb/testsuite/../../gdb/gdb version 6.5.50.20061110-cvs -nx
Compiler version: 6.5.50.20061110-cvs -nx gdb
Platform: spu-unknown-elf
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com