[rfc] Replace current_gdbarch in stack.c

Markus Deuling deuling@de.ibm.com
Tue Nov 20 13:33:00 GMT 2007


Hi,

this patch removes the last occurences of current_gdbarch in stack.c.

Tested on x86. Ok ?

ChangeLog:

	* stack.c (print_args_stub): Use get_frame_arch to get at the current
	architecture and replace current_gdbarch.
	(frame_info): 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-stack
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20071120/991cf3d9/attachment.ksh>


More information about the Gdb-patches mailing list