diff options
author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2019-09-20 23:06:57 +0200 |
---|---|---|
committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2019-09-20 23:06:57 +0200 |
commit | abf516c6931af1683d1e51203de1ca01467f9f85 (patch) | |
tree | f2d4e09a3840ac22f5af5584348fbdf97e0c8aca /gdb/regformats | |
parent | 78e8cb91cd1374ac59cc8bf6509fa70bde74ff1a (diff) | |
download | gdb-abf516c6931af1683d1e51203de1ca01467f9f85.zip gdb-abf516c6931af1683d1e51203de1ca01467f9f85.tar.gz gdb-abf516c6931af1683d1e51203de1ca01467f9f85.tar.bz2 |
Remove Cell Broadband Engine debugging support
This patch implements removal of Cell/B.E. support, including
- Support for the spu-*-* target
- Support for native stand-alone SPU debugging
- Support for integrated debugging of combined PPU/SPU applications
- Remote debugging (gdbserver) support for all the above.
The patch also removes the TARGET_OBJECT_SPU target object type,
as this is available only on Cell/B.E. targets, including
- Native Linux support
- Core file support (including core file generation)
- Remote target support, including removal of the qXfer:spu:read
and qXfer:spu:write remote protocal packets and associated
support in gdbserver.
gdb/ChangeLog
2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
* NEWS: Mention that Cell/B.E. debugging support was removed.
* MAINTAINERS: Remove spu target.
* config/djgpp/fnchange.lst: Remove entries for removed files.
* Makefile.in (ALL_TARGET_OBS): Remove solib-spu.o,
spu-multiarch.o, and spu-tdep.o.
(HFILES_NO_SRCDIR): Remove solib-spu.h and spu-tdep.h.
(ALLDEPFILES): Remove solib-spu.c, spu-linux-nat.c,
spu-multiarch.c, and spu-tdep.c.
* spu-linux-nat.c: Remove file.
* spu-multiarch.c: Remove file.
* spu-tdep.c: Remove file.
* spu-tdep.h: Remove file.
* solib-spu.c: Remove file.
* solib-spu.h: Remove file.
* configure.host (powerpc64*-*-linux*): Remove Cell/B.E. support.
* configure.nat (spu-linux): Remove.
* configure.tgt (powerpc*-*-linux*): Remove solib-spu.o and
solib-multiarch.o from gdb_target_obs.
(spu*-*-*): Remove.
* arch/ppc-linux-common.h (struct ppc_linux_features): Remove "cell"
feature flag.
(ppc_linux_no_features): Update.
* arch/ppc-linux-common.c (ppc_linux_match_description): Remove
Cell/B.E. support.
* arch/ppc-linux-tdesc.h (tdesc_powerpc_cell32l): Remove declaration.
(tdesc_powerpc_cell64l): Likewise.
* nat/ppc-linux.h (PPC_FEATURE_CELL): Remove.
* ppc-linux-nat.c (ppc_linux_nat_target::read_description): Remove
Cell/B.E. support.
* ppc-linux-tdep.h: Do not include "solib-spu.h" or "spu-tdep.h".
Do not include "features/rs6000/powerpc-cell32l.c" or
"features/rs6000/powerpc-cell64l.c".
(ppc_linux_spu_section): Remove.
(ppc_linux_core_read_description): Remove Cell/B.E. support.
(spe_context_objfile, spe_context_lm_addr, spe_context_offset,
spe_context_cache_ptid, spe_context_cache_ptid): Remove.
(ppc_linux_spe_context_lookup): Remove.
(ppc_linux_spe_context_inferior_created): Remove.
(ppc_linux_spe_context_solib_loaded): Remove.
(ppc_linux_spe_context_solib_unloaded): Remove.
(ppc_linux_spe_context): Remove.
(struct ppu2spu_cache): Remove.
(ppu2spu_prev_arch, ppu2spu_this_id, ppu2spu_prev_register): Remove.
(struct ppu2spu_data): Remove.
(ppu2spu_unwind_register, ppu2spu_sniffer, ppu2spu_dealloc_cache,
ppu2spu_unwind): Remove.
(ppc_linux_init_abi): Remove Cell/B.E. support.
* rs6000-tdep.h (rs6000_gdbarch_init): Remove Cell/B.E. support.
* features/Makefile (rs6000/powerpc-cell32l-expedite): Remove.
(rs6000/powerpc-cell64l-expedite): Likewise
(WHICH): Remove rs6000/powerpc-cell32l and rs6000/powerpc-cell64l.
(XMLTOC): Remove rs6000/powerpc-cell32l.xml and
rs6000/powerpc-cell64l.xml.
* features/rs6000/powerpc-cell32l.xml: Remove.
* features/rs6000/powerpc-cell64l.xml: Likewise.
* features/rs6000/powerpc-cell32l.c: Remove generated file.
* features/rs6000/powerpc-cell64l.c: Likewise.
* regformats/rs6000/powerpc-cell32l.dat: Remove generated file.
* regformats/rs6000/powerpc-cell64l.dat: Likewise.
* regformats/reg-spu.dat: Remove.
* target.h (enum target_object): Remove TARGET_OBJECT_SPU.
* corelow.c (struct spuid_list): Remove.
(add_to_spuid_list): Remove.
(core_target::xfer_partial): Remove support for TARGET_OBJECT_SPU.
* remote.c (PACKET_qXfer_spu_read, PACKET_qXfer_spu_write): Remove.
(remote_protocol_features): Remove associated entries.
(_initialize_remote): No longer initialize them.
(remote_target::xfer_partial): Remove support for TARGET_OBJECT_SPU.
* linux-nat.c (SPUFS_MAGIC): Remove.
(linux_proc_xfer_spu): Remove.
(spu_enumerate_spu_ids): Remove.
(linux_nat_target::xfer_partial): Remove support for TARGET_OBJECT_SPU.
* linux-tdep.c (-linux_spu_make_corefile_notes): Remove.
(linux_make_corefile_notes): No longer call it.
* regcache.c (cooked_read_test): Remove bfd_arch_spu special case.
(cooked_write_test): Likewise.
gdb/doc/ChangeLog
2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
* doc/gdb.texinfo (Remote Configuration): Remove documentation for
qXfer:spu:read and qXfer:spu:write.
(General Query Packets): Likewise.
(Cell Broadband Engine SPU architecture): Remove subsection.
gdb/gdbserver/ChangeLog
2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
* configure.srv (ipa_ppc_linux_regobj): Remove powerpc-cell32l-ipa.o
and powerpc-cell64l-ipa.o.
(powerpc*-*-linux*): Remove powerpc-cell32l.o and powerpc-cell64l.o
from srv_regobj. Remove rs6000/powerpc-cell32l.xml and
rs6000/powerpc-cell64l.xml from srv_xmlfiles.
(spu*-*-*): Remove.
* spu-low.c: Remove file.
* linux-ppc-low.c (INSTR_SC, NR_spu_run): Remove.
(parse_spufs_run): Remove.
(ppc_get_pc): Remove Cell/B.E. support.
(ppc_set_pc): Likewise.
(ppc_breakpoint_at): Likewise.
(ppc_arch_setup): Likewise.
(ppc_get_ipa_tdesc_idx): Do not handle tdesc_powerpc_cell64l or
tdesc_powerpc_cell32l.
(initialize_low_arch): Do not call init_registers_powerpc_cell64l
or init_registers_powerpc_cell32l.
* linux-ppc-ipa.c (get_ipa_tdesc): Do not handle PPC_TDESC_CELL.
(initialize_low_tracepoint): Do not call init_registers_powerpc_cell64l
or init_registers_powerpc_cell32l.
* linux-ppc-tdesc-init.h (PPC_TDESC_CELL): Mark as unused.
(init_registers_powerpc_cell32l): Remove prototype.
(init_registers_powerpc_cell64l): Likewise.
* target.h (struct target_ops): Remove qxfer_spu member.
* server.c (handle_qxfer_spu): Remove.
(qxfer_packets): Remove entry for "spu".
(handle_query): No longer support qXfer:spu:read or qXfer:spu:write.
* linux-low.c (SPUFS_MAGIC): Remove.
(spu_enumerate_spu_ids): Remove.
(linux_qxfer_spu): Remove.
(linux_target_ops): Remove qxfer_spu member.
* lynx-low.c (lynx_target_ops): Remove qxfer_spu member.
* nto-low.c (nto_target_ops): Remove qxfer_spu member.
* win32-low.c (win32_target_ops): Remove qxfer_spu member.
gdb/testsuite/ChangeLog
2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
* gdb.arch/spu-info.exp: Remove file.
* gdb.arch/spu-info.c: Remove file.
* gdb.arch/spu-ls.exp: Remove file.
* gdb.arch/spu-ls.c: Remove file.
* gdb.asm/asm-source.exp: Remove support for spu*-*-*.
* gdb.asm/spu.inc: Remove file.
* gdb.base/dump.exp: Remove support for spu*-*-*.
* gdb.base/stack-checking.exp: Likewise.
* gdb.base/overlays.exp: Likewise.
* gdb.base/ovlymgr.c: Likewise.
* gdb.base/spu.ld: Remove file.
* gdb.cp/bs15503.exp: Remove support for spu*-*-*.
* gdb.cp/cpexprs.exp: Likewise.
* gdb.cp/exception.exp: Likewise.
* gdb.cp/gdb2495.exp: Likewise.
* gdb.cp/mb-templates.exp: Likewise.
* gdb.cp/pr9167.exp: Likewise.
* gdb.cp/userdef.exp: Likewise.
* gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
* gdb.cell: Remove directory.
* lib/cell.exp: Remove file.
Diffstat (limited to 'gdb/regformats')
-rw-r--r-- | gdb/regformats/reg-spu.dat | 133 | ||||
-rw-r--r-- | gdb/regformats/rs6000/powerpc-cell32l.dat | 112 | ||||
-rw-r--r-- | gdb/regformats/rs6000/powerpc-cell64l.dat | 112 |
3 files changed, 0 insertions, 357 deletions
diff --git a/gdb/regformats/reg-spu.dat b/gdb/regformats/reg-spu.dat deleted file mode 100644 index fb69119..0000000 --- a/gdb/regformats/reg-spu.dat +++ /dev/null @@ -1,133 +0,0 @@ -name:spu -xmlarch:spu -expedite:r0,r1,npc -128:r0 -128:r1 -128:r2 -128:r3 -128:r4 -128:r5 -128:r6 -128:r7 -128:r8 -128:r9 -128:r10 -128:r11 -128:r12 -128:r13 -128:r14 -128:r15 -128:r16 -128:r17 -128:r18 -128:r19 -128:r20 -128:r21 -128:r22 -128:r23 -128:r24 -128:r25 -128:r26 -128:r27 -128:r28 -128:r29 -128:r30 -128:r31 -128:r32 -128:r33 -128:r34 -128:r35 -128:r36 -128:r37 -128:r38 -128:r39 -128:r40 -128:r41 -128:r42 -128:r43 -128:r44 -128:r45 -128:r46 -128:r47 -128:r48 -128:r49 -128:r50 -128:r51 -128:r52 -128:r53 -128:r54 -128:r55 -128:r56 -128:r57 -128:r58 -128:r59 -128:r60 -128:r61 -128:r62 -128:r63 -128:r64 -128:r65 -128:r66 -128:r67 -128:r68 -128:r69 -128:r70 -128:r71 -128:r72 -128:r73 -128:r74 -128:r75 -128:r76 -128:r77 -128:r78 -128:r79 -128:r80 -128:r81 -128:r82 -128:r83 -128:r84 -128:r85 -128:r86 -128:r87 -128:r88 -128:r89 -128:r90 -128:r91 -128:r92 -128:r93 -128:r94 -128:r95 -128:r96 -128:r97 -128:r98 -128:r99 -128:r100 -128:r101 -128:r102 -128:r103 -128:r104 -128:r105 -128:r106 -128:r107 -128:r108 -128:r109 -128:r110 -128:r111 -128:r112 -128:r113 -128:r114 -128:r115 -128:r116 -128:r117 -128:r118 -128:r119 -128:r120 -128:r121 -128:r122 -128:r123 -128:r124 -128:r125 -128:r126 -128:r127 -32:id -32:npc diff --git a/gdb/regformats/rs6000/powerpc-cell32l.dat b/gdb/regformats/rs6000/powerpc-cell32l.dat deleted file mode 100644 index bd28505..0000000 --- a/gdb/regformats/rs6000/powerpc-cell32l.dat +++ /dev/null @@ -1,112 +0,0 @@ -# THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi :set ro: -# Generated from: rs6000/powerpc-cell32l.xml -name:powerpc_cell32l -xmltarget:powerpc-cell32l.xml -expedite:r1,pc,r0,orig_r3,r4 -32:r0 -32:r1 -32:r2 -32:r3 -32:r4 -32:r5 -32:r6 -32:r7 -32:r8 -32:r9 -32:r10 -32:r11 -32:r12 -32:r13 -32:r14 -32:r15 -32:r16 -32:r17 -32:r18 -32:r19 -32:r20 -32:r21 -32:r22 -32:r23 -32:r24 -32:r25 -32:r26 -32:r27 -32:r28 -32:r29 -32:r30 -32:r31 -64:f0 -64:f1 -64:f2 -64:f3 -64:f4 -64:f5 -64:f6 -64:f7 -64:f8 -64:f9 -64:f10 -64:f11 -64:f12 -64:f13 -64:f14 -64:f15 -64:f16 -64:f17 -64:f18 -64:f19 -64:f20 -64:f21 -64:f22 -64:f23 -64:f24 -64:f25 -64:f26 -64:f27 -64:f28 -64:f29 -64:f30 -64:f31 -32:pc -32:msr -32:cr -32:lr -32:ctr -32:xer -32:fpscr -32:orig_r3 -32:trap -128:vr0 -128:vr1 -128:vr2 -128:vr3 -128:vr4 -128:vr5 -128:vr6 -128:vr7 -128:vr8 -128:vr9 -128:vr10 -128:vr11 -128:vr12 -128:vr13 -128:vr14 -128:vr15 -128:vr16 -128:vr17 -128:vr18 -128:vr19 -128:vr20 -128:vr21 -128:vr22 -128:vr23 -128:vr24 -128:vr25 -128:vr26 -128:vr27 -128:vr28 -128:vr29 -128:vr30 -128:vr31 -32:vscr -32:vrsave diff --git a/gdb/regformats/rs6000/powerpc-cell64l.dat b/gdb/regformats/rs6000/powerpc-cell64l.dat deleted file mode 100644 index b5b162e..0000000 --- a/gdb/regformats/rs6000/powerpc-cell64l.dat +++ /dev/null @@ -1,112 +0,0 @@ -# THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi :set ro: -# Generated from: rs6000/powerpc-cell64l.xml -name:powerpc_cell64l -xmltarget:powerpc-cell64l.xml -expedite:r1,pc,r0,orig_r3,r4 -64:r0 -64:r1 -64:r2 -64:r3 -64:r4 -64:r5 -64:r6 -64:r7 -64:r8 -64:r9 -64:r10 -64:r11 -64:r12 -64:r13 -64:r14 -64:r15 -64:r16 -64:r17 -64:r18 -64:r19 -64:r20 -64:r21 -64:r22 -64:r23 -64:r24 -64:r25 -64:r26 -64:r27 -64:r28 -64:r29 -64:r30 -64:r31 -64:f0 -64:f1 -64:f2 -64:f3 -64:f4 -64:f5 -64:f6 -64:f7 -64:f8 -64:f9 -64:f10 -64:f11 -64:f12 -64:f13 -64:f14 -64:f15 -64:f16 -64:f17 -64:f18 -64:f19 -64:f20 -64:f21 -64:f22 -64:f23 -64:f24 -64:f25 -64:f26 -64:f27 -64:f28 -64:f29 -64:f30 -64:f31 -64:pc -64:msr -32:cr -64:lr -64:ctr -32:xer -32:fpscr -64:orig_r3 -64:trap -128:vr0 -128:vr1 -128:vr2 -128:vr3 -128:vr4 -128:vr5 -128:vr6 -128:vr7 -128:vr8 -128:vr9 -128:vr10 -128:vr11 -128:vr12 -128:vr13 -128:vr14 -128:vr15 -128:vr16 -128:vr17 -128:vr18 -128:vr19 -128:vr20 -128:vr21 -128:vr22 -128:vr23 -128:vr24 -128:vr25 -128:vr26 -128:vr27 -128:vr28 -128:vr29 -128:vr30 -128:vr31 -32:vscr -32:vrsave |