From 09a7aba80a6e7a4a6e6cce7f877bcecf7a146919 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Fri, 2 Nov 2007 14:47:28 +0000 Subject: 2007-11-02 Markus Deuling * 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. --- gdb/frame.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gdb/frame.h') diff --git a/gdb/frame.h b/gdb/frame.h index d754aed..aedff71 100644 --- a/gdb/frame.h +++ b/gdb/frame.h @@ -175,7 +175,8 @@ extern int frame_id_eq (struct frame_id l, struct frame_id r); /* Returns non-zero when L is strictly inner-than R (they have different frame .bases). Neither L, nor R can be `null'. See note above about frameless functions. */ -extern int frame_id_inner (struct frame_id l, struct frame_id r); +extern int frame_id_inner (struct gdbarch *gdbarch, struct frame_id l, + struct frame_id r); /* Write the internal representation of a frame ID on the specified stream. */ -- cgit v1.1