diff options
Diffstat (limited to 'gdb/features/rs6000/powerpc-32l.c')
-rw-r--r-- | gdb/features/rs6000/powerpc-32l.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/features/rs6000/powerpc-32l.c b/gdb/features/rs6000/powerpc-32l.c index 971fd4b..8089c04 100644 --- a/gdb/features/rs6000/powerpc-32l.c +++ b/gdb/features/rs6000/powerpc-32l.c @@ -10,10 +10,10 @@ static void initialize_tdesc_powerpc_32l (void) { struct target_desc *result = allocate_target_description (); - struct tdesc_feature *feature; - set_tdesc_architecture (result, bfd_scan_arch ("powerpc:common")); + struct tdesc_feature *feature; + feature = tdesc_create_feature (result, "org.gnu.gdb.power.core"); tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "uint32"); |