[rfc] [07/16] Get rid of current_gdbarch in cris-tdep.c
Markus Deuling
deuling@de.ibm.com
Mon Oct 8 08:19:00 GMT 2007
Hi,
this patch gets rid of some of the current_gdbarch's in cris-tdep.c
Is this ok to commit?
ChangeLog:
* cris-tdep.c (cris_sigcontext_addr, cris_sigtramp_frame_unwind_cache)
(cris_scan_prologue, crisv32_scan_prologue, find_step_target)
(cris_software_single_step, cris_supply_gregset): Use get_regcache_arch
or get_frame_arch to get at the current architecture by regcache or by
frame, respectively.
* cris-tdep.c (crisv32_single_step_through_delay, cris_push_dummy_call)
(cris_unwind_pc, cris_unwind_sp, cris_register_type, cris_dump_tdep)
(crisv32_register_type, cris_dwarf2_frame_init_reg): Replace
current_gdbarch by gdbarch.
--
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff-cris
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20071008/1d202d61/attachment.ksh>
More information about the Gdb-patches
mailing list