This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Get rid of current_gdbarch in xtensa-tdep.c
- From: Maxim Grigoriev <maxim at tensilica dot com>
- To: deuling at de dot ibm dot com, gdb-patches at sources dot redhat dot com
- Date: Tue, 07 Aug 2007 16:13:45 -0700
- Subject: Get rid of current_gdbarch in xtensa-tdep.c
Hi Markus,
>> Is this ok to commit?
Yes.
Thanks much for doing this.
-- Maxim
---------------------------------------------------------
Hi,
this patch gets rid of some of the current_gdbarch's in xtensa-tdep.c
Is this ok to commit?
ChangeLog:
* xtensa-tdep.c (xtensa_register_type, xtensa_pseudo_register_read)
(xtensa_pseudo_register_write, xtensa_register_reggroup_p)
(xtensa_unwind_pc, xtensa_frame_cache, xtensa_frame_prev_register)
(xtensa_push_dummy_call): Replace current_gdbarch by frame-specific
architecture recognition.
(xtensa_dump_tdep): Rename parameter to gdbarch.
--
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com