[rfc] [6/6] Get rid of current_gdbarch in stack.c v2
Markus Deuling
deuling@de.ibm.com
Wed Oct 10 13:33:00 GMT 2007
Hi,
this patch gets rid of some of the current_gdbarch's in stack.c (v2). This is the reworked version.
Is this ok to commit?
ChangeLog:
* stack.c (print_frame_args, frame_info, return_command): Use
get_regcache_arch or get_frame_arch to get at the current architecture
by regcache or by frame, respectively.
--
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-stack
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20071010/77ad508b/attachment.ksh>
More information about the Gdb-patches
mailing list