The tix6x gdbserver port was modified to use target descriptions in
commit
506fe5f49967 ("Change tic6x target descriptions"). The old
regformats .dat files were kept as a way to make sure the new target
descriptions matched the old register decsriptions. I think by now it's
not necessary to keep the .dat files.
I don't have a way to build-test this though.
Change-Id: Ia90b5ae6381234c6e95555201d3e65ed9be880ea
Approved-By: Tom Tromey <tom@tromey.com>
@V@/gdb/regformats/rs6000/powerpc-isa205-vsx64l.dat @V@/gdb/regformats/rs6000/ppciv64l.dat
@V@/gdb/regformats/rs6000/powerpc-vsx32l.dat @V@/gdb/regformats/rs6000/ppc-v32l.dat
@V@/gdb/regformats/rs6000/powerpc-vsx64l.dat @V@/gdb/regformats/rs6000/ppc-v64l.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
+++ /dev/null
-# THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi :set ro:
-# Generated from: tic6x-c62x-linux.xml
-name:tic6x_c62x_linux
-feature:1
-xmltarget:tic6x-c62x-linux.xml
-expedite:A15,PC
-osabi:GNU/Linux
-32:A0
-32:A1
-32:A2
-32:A3
-32:A4
-32:A5
-32:A6
-32:A7
-32:A8
-32:A9
-32:A10
-32:A11
-32:A12
-32:A13
-32:A14
-32:A15
-32:B0
-32:B1
-32:B2
-32:B3
-32:B4
-32:B5
-32:B6
-32:B7
-32:B8
-32:B9
-32:B10
-32:B11
-32:B12
-32:B13
-32:B14
-32:B15
-32:CSR
-32:PC
+++ /dev/null
-# THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi :set ro:
-# Generated from: tic6x-c64x-linux.xml
-name:tic6x_c64x_linux
-feature:1
-xmltarget:tic6x-c64x-linux.xml
-expedite:A15,PC
-osabi:GNU/Linux
-32:A0
-32:A1
-32:A2
-32:A3
-32:A4
-32:A5
-32:A6
-32:A7
-32:A8
-32:A9
-32:A10
-32:A11
-32:A12
-32:A13
-32:A14
-32:A15
-32:B0
-32:B1
-32:B2
-32:B3
-32:B4
-32:B5
-32:B6
-32:B7
-32:B8
-32:B9
-32:B10
-32:B11
-32:B12
-32:B13
-32:B14
-32:B15
-32:CSR
-32:PC
-32:A16
-32:A17
-32:A18
-32:A19
-32:A20
-32:A21
-32:A22
-32:A23
-32:A24
-32:A25
-32:A26
-32:A27
-32:A28
-32:A29
-32:A30
-32:A31
-32:B16
-32:B17
-32:B18
-32:B19
-32:B20
-32:B21
-32:B22
-32:B23
-32:B24
-32:B25
-32:B26
-32:B27
-32:B28
-32:B29
-32:B30
-32:B31
+++ /dev/null
-# THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi :set ro:
-# Generated from: tic6x-c64xp-linux.xml
-name:tic6x_c64xp_linux
-feature:1
-xmltarget:tic6x-c64xp-linux.xml
-expedite:A15,PC
-osabi:GNU/Linux
-32:A0
-32:A1
-32:A2
-32:A3
-32:A4
-32:A5
-32:A6
-32:A7
-32:A8
-32:A9
-32:A10
-32:A11
-32:A12
-32:A13
-32:A14
-32:A15
-32:B0
-32:B1
-32:B2
-32:B3
-32:B4
-32:B5
-32:B6
-32:B7
-32:B8
-32:B9
-32:B10
-32:B11
-32:B12
-32:B13
-32:B14
-32:B15
-32:CSR
-32:PC
-32:A16
-32:A17
-32:A18
-32:A19
-32:A20
-32:A21
-32:A22
-32:A23
-32:A24
-32:A25
-32:A26
-32:A27
-32:A28
-32:A29
-32:A30
-32:A31
-32:B16
-32:B17
-32:B18
-32:B19
-32:B20
-32:B21
-32:B22
-32:B23
-32:B24
-32:B25
-32:B26
-32:B27
-32:B28
-32:B29
-32:B30
-32:B31
-32:TSR
-32:ILC
-32:RILC
srv_linux_regsets=yes
srv_linux_thread_db=yes
;;
- tic6x-*-uclinux) if $development; then
- srv_regobj="tic6x-c64xp-linux.o"
- srv_regobj="${srv_regobj} tic6x-c64x-linux.o"
- srv_regobj="${srv_regobj} tic6x-c62x-linux.o"
- else
- srv_regobj=""
- fi
- srv_tgtobj="$srv_linux_obj linux-tic6x-low.o"
+ tic6x-*-uclinux) srv_tgtobj="$srv_linux_obj linux-tic6x-low.o"
srv_tgtobj="${srv_tgtobj} arch/tic6x.o"
srv_linux_regsets=yes
srv_linux_usrregs=yes
return &myregs_info;
}
-#if GDB_SELF_TEST
-#include "gdbsupport/selftest.h"
-
-namespace selftests {
-namespace tdesc {
-static void
-tic6x_tdesc_test ()
-{
- SELF_CHECK (*tdesc_tic6x_c62x_linux == *tic6x_read_description (C6X_CORE));
- SELF_CHECK (*tdesc_tic6x_c64x_linux == *tic6x_read_description (C6X_GP));
- SELF_CHECK (*tdesc_tic6x_c64xp_linux == *tic6x_read_description (C6X_C6XP));
-}
-}
-}
-#endif
-
/* The linux target ops object. */
linux_process_target *the_linux_target = &the_tic6x_target;