aboutsummaryrefslogtreecommitdiff
path: root/gdb/features/rs6000/rs6000.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/features/rs6000/rs6000.c')
-rw-r--r--gdb/features/rs6000/rs6000.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/features/rs6000/rs6000.c b/gdb/features/rs6000/rs6000.c
index d4e93a5..709b5da 100644
--- a/gdb/features/rs6000/rs6000.c
+++ b/gdb/features/rs6000/rs6000.c
@@ -10,10 +10,10 @@ static void
initialize_tdesc_rs6000 (void)
{
struct target_desc *result = allocate_target_description ();
- struct tdesc_feature *feature;
-
set_tdesc_architecture (result, bfd_scan_arch ("rs6000:6000"));
+ struct tdesc_feature *feature;
+
feature = tdesc_create_feature (result, "org.gnu.gdb.power.core");
tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "int");
tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "int");