diff options
Diffstat (limited to 'gdb/features/nios2.c')
-rw-r--r-- | gdb/features/nios2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/features/nios2.c b/gdb/features/nios2.c index 0cedc12..705f499 100644 --- a/gdb/features/nios2.c +++ b/gdb/features/nios2.c @@ -10,10 +10,10 @@ static void initialize_tdesc_nios2 (void) { struct target_desc *result = allocate_target_description (); - struct tdesc_feature *feature; - set_tdesc_architecture (result, bfd_scan_arch ("nios2")); + struct tdesc_feature *feature; + feature = tdesc_create_feature (result, "org.gnu.gdb.nios2.cpu"); tdesc_create_reg (feature, "zero", 0, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "at", 1, 1, NULL, 32, "uint32"); |