This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfc] Extend frame_id_inner by gdbarch parameter


Markus Deuling wrote:

> 	* frame.c (frame_id_inner): Add gdbarch parameter. Replace
> 	current_gdbarch by gdbarch.
> 	(frame_find_by_id, get_prev_frame_1): Use get_frame_arch to get at the
> 	current architecture by frame_info.
> 	* frame.h (frame_id_inner): Add gdbarch parameter.
> 	* stack.c (return_command): Use get_frame_arch to get at the current
> 	architecture by frame_info. Update call of frame_id_inner.
> 	* infrun.c (handle_inferior_event): Likewise.
> 	* dummy-frame.c (dummy_frame_push):  Use get_regcache_arch to get at the
> 	current architecture by regcache. Update call of frame_id_inner.

Looks reasonable to me.  I've checked this in as well.

Thanks,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]