]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdbserver: remove leftovers from tic6x target_desc selftests
authorSimon Marchi <simon.marchi@polymtl.ca>
Mon, 1 Dec 2025 21:19:07 +0000 (16:19 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Mon, 1 Dec 2025 21:21:01 +0000 (16:21 -0500)
Commit 9a5d3e6c4a50 ("gdb: remove tic6x .dat files") removed the .dat
files that were used solely for selftests in linux-tic6x-low.cc.
However, I forgot to remove the things that depended on that in
linux-tic6x-low.cc (or rather, I put them in the wrong patch).  As-is,
linux-tic6x-low.cc will certainly no build, because function
selftests::tdesc::tic6x_tdesc_test is not defined anywere.  Remove those
remaining bits.

Change-Id: I3f307a6ae4848ef748e2a685a870b662c88180b5

gdbserver/linux-tic6x-low.cc

index 68fee8d642645055c6b206723a49ba27bc509402..810a8148bd4501cf90ef16413260f46d8730ac8b 100644 (file)
@@ -68,18 +68,6 @@ protected:
 
 static tic6x_target the_tic6x_target;
 
-/* Defined in auto-generated file tic6x-c64xp-linux.c.  */
-void init_registers_tic6x_c64xp_linux (void);
-extern const struct target_desc *tdesc_tic6x_c64xp_linux;
-
-/* Defined in auto-generated file tic6x-c64x-linux.c.  */
-void init_registers_tic6x_c64x_linux (void);
-extern const struct target_desc *tdesc_tic6x_c64x_linux;
-
-/* Defined in auto-generated file tic62x-c6xp-linux.c.  */
-void init_registers_tic6x_c62x_linux (void);
-extern const struct target_desc *tdesc_tic6x_c62x_linux;
-
 union tic6x_register
 {
   unsigned char buf[4];
@@ -418,14 +406,5 @@ linux_process_target *the_linux_target = &the_tic6x_target;
 void
 initialize_low_arch (void)
 {
-#if GDB_SELF_TEST
-  /* Initialize the Linux target descriptions.  */
-  init_registers_tic6x_c64xp_linux ();
-  init_registers_tic6x_c64x_linux ();
-  init_registers_tic6x_c62x_linux ();
-
-  selftests::register_test ("tic6x-tdesc", selftests::tdesc::tic6x_tdesc_test);
-#endif
-
   initialize_regsets_info (&tic6x_regsets_info);
 }