This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] Extend frame_id_inner by gdbarch parameter
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: deuling at de dot ibm dot com (Markus Deuling)
- Cc: gdb-patches at sourceware dot org (GDB Patches)
- Date: Fri, 2 Nov 2007 15:48:23 +0100 (CET)
- Subject: 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