gdb/nds32: update features/nds32.c
authorAndrew Burgess <aburgess@redhat.com>
Thu, 11 Aug 2022 14:57:26 +0000 (15:57 +0100)
committerAndrew Burgess <aburgess@redhat.com>
Sun, 14 Aug 2022 13:54:26 +0000 (14:54 +0100)
After this commit:

  commit 7b7c365c5c663ffdfb2b3f696db35c23cdccd921
  Date:   Wed Sep 15 10:10:46 2021 +0200

      [bfd] Ensure unique printable names for bfd archs

The printable name field of the default nds32 bfd_arch_info changed
from 'n1h' to 'n1'.  As a consequence the generated feature file
within GDB should have been recreated.  Recreate it now.

gdb/features/nds32.c

index ed535b5ab9f59cd91ea426763c6a3125c75b7ec0..4e520163931b51071aa0853000b65a0e2a16fdc3 100644 (file)
@@ -10,7 +10,7 @@ static void
 initialize_tdesc_nds32 (void)
 {
   target_desc_up result = allocate_target_description ();
-  set_tdesc_architecture (result.get (), bfd_scan_arch ("n1h"));
+  set_tdesc_architecture (result.get (), bfd_scan_arch ("n1"));
 
   struct tdesc_feature *feature;