]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb: remove tic6x .dat files
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 13 Nov 2025 21:46:53 +0000 (16:46 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Fri, 14 Nov 2025 20:01:29 +0000 (15:01 -0500)
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>
gdb/config/djgpp/fnchange.lst
gdb/regformats/tic6x-c62x-linux.dat [deleted file]
gdb/regformats/tic6x-c64x-linux.dat [deleted file]
gdb/regformats/tic6x-c64xp-linux.dat [deleted file]
gdbserver/configure.srv
gdbserver/linux-tic6x-low.cc

index 3e77bece2fccce32aab1b7dcb8b114ea67eda7c7..be10b57faab226c1528c287f0cd77a892566d9ee 100644 (file)
 @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
diff --git a/gdb/regformats/tic6x-c62x-linux.dat b/gdb/regformats/tic6x-c62x-linux.dat
deleted file mode 100644 (file)
index 0818ace..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-# 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
diff --git a/gdb/regformats/tic6x-c64x-linux.dat b/gdb/regformats/tic6x-c64x-linux.dat
deleted file mode 100644 (file)
index fafa53a..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-# 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
diff --git a/gdb/regformats/tic6x-c64xp-linux.dat b/gdb/regformats/tic6x-c64xp-linux.dat
deleted file mode 100644 (file)
index 56fc3d7..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-# 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
index 6281cdadc2a2b480ca583e499ceab9074aa42ce4..7de03929bc287942a592bd3c68222560518b7c72 100644 (file)
@@ -359,14 +359,7 @@ case "${gdbserver_host}" in
                        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
index 4400ede053ed94a8ef2fcd16db20dadbeee25657..b81863ba64c54c9b72d7e835271315abb2b662f7 100644 (file)
@@ -411,22 +411,6 @@ tic6x_target::get_regs_info ()
   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;