* rs6000-tdep.c (rs6000_gdbarch_init): Set up info.target_desc

and info.tdep_info before calling gdbarch_init_osabi.
This commit is contained in:
Ulrich Weigand 2008-05-11 15:29:47 +00:00
parent 0c0b707645
commit 8a4c2d245d
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2008-05-11 Ulrich Weigand <uweigand@de.ibm.com>
* rs6000-tdep.c (rs6000_gdbarch_init): Set up info.target_desc
and info.tdep_info before calling gdbarch_init_osabi.
2008-05-09 Joel Brobecker <brobecker@adacore.com>
* ada-lang.c (ada_evaluate_subexp) [BINOP_ASSIGN]: Do not force

View file

@ -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)