From f2c16bd605503a2ff9a98a16ca7049ef4319d690 Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Tue, 28 Jan 2003 16:31:11 +0000 Subject: * mips-tdep.c (mips_init_extra_frame_info): Return early for dummy frames. --- gdb/mips-tdep.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gdb/mips-tdep.c') diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index 04db937..5898e57 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -2468,9 +2468,13 @@ static void mips_init_extra_frame_info (int fromleaf, struct frame_info *fci) { int regnum; + mips_extra_func_info_t proc_desc; + + if (get_frame_type (fci) == DUMMY_FRAME) + return; /* Use proc_desc calculated in frame_chain */ - mips_extra_func_info_t proc_desc = + proc_desc = get_next_frame (fci) ? cached_proc_desc : find_proc_desc (get_frame_pc (fci), get_next_frame (fci), 1); -- cgit v1.1