aboutsummaryrefslogtreecommitdiff
path: root/gdb/rs6000-tdep.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2008-05-11 15:29:47 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2008-05-11 15:29:47 +0000
commit8a4c2d245d937cd489007ca385d250463b84bc69 (patch)
treee2d99df01337fa01eba08e5b50395666fb361b58 /gdb/rs6000-tdep.c
parent0c0b7076456471f4201a2e7ecdedd36ce6f5f807 (diff)
downloadgdb-8a4c2d245d937cd489007ca385d250463b84bc69.zip
gdb-8a4c2d245d937cd489007ca385d250463b84bc69.tar.gz
gdb-8a4c2d245d937cd489007ca385d250463b84bc69.tar.bz2
* rs6000-tdep.c (rs6000_gdbarch_init): Set up info.target_desc
and info.tdep_info before calling gdbarch_init_osabi.
Diffstat (limited to 'gdb/rs6000-tdep.c')
-rw-r--r--gdb/rs6000-tdep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index 7907767..b234101 100644
--- a/gdb/rs6000-tdep.c
+++ b/gdb/rs6000-tdep.c
@@ -3171,6 +3171,8 @@ rs6000_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
dwarf2_frame_set_init_reg (gdbarch, ppc_dwarf2_frame_init_reg);
/* Hook in ABI-specific overrides, if they have been registered. */
+ info.target_desc = tdesc;
+ info.tdep_info = (void *) tdesc_data;
gdbarch_init_osabi (info, gdbarch);
switch (info.osabi)