diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2008-05-11 15:29:47 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2008-05-11 15:29:47 +0000 |
commit | dc8b69e6a5cb436405a2e68a9a9bee10d5fb01a2 (patch) | |
tree | 9bf7ab0a9f5d4cda490cbd26e5475ec147125580 | |
parent | 840c759abeda398359f03c7ba6174da645030882 (diff) | |
download | gdb-dc8b69e6a5cb436405a2e68a9a9bee10d5fb01a2.tar.gz |
* rs6000-tdep.c (rs6000_gdbarch_init): Set up info.target_desc
and info.tdep_info before calling gdbarch_init_osabi.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/rs6000-tdep.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8acf37a5184..a9d59746f6b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c index 790776734e9..b234101c8db 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) |