[rfc] [8/8] Get rid of current_gdbarch in h8300-tdep.c
Markus Deuling
deuling@de.ibm.com
Tue Oct 9 11:40:00 GMT 2007
Hi,
this patch gets rid of some of the current_gdbarch's in h8300-tdep.c
Is this ok to commit?
ChangeLog:
* h8300-tdep.c (h8300_frame_cache): Use get_frame_arch to get at
the current architecture by frame_info.
(h8300_frame_prev_register
(h8300_print_register): Replace current_gdbarch by gdbarch.
(h8300_print_registers_info, h8300_register_type)
(h8300_register_type): Likewise.
--
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-h8300
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20071009/ea6cf821/attachment.ksh>
More information about the Gdb-patches
mailing list