diff options
Diffstat (limited to 'gdb/frv-tdep.c')
-rw-r--r-- | gdb/frv-tdep.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/frv-tdep.c b/gdb/frv-tdep.c index 2437c9d..acb0ba3 100644 --- a/gdb/frv-tdep.c +++ b/gdb/frv-tdep.c @@ -1391,7 +1391,7 @@ frv_frame_this_id (struct frame_info *this_frame, = frv_frame_unwind_cache (this_frame, this_prologue_cache); CORE_ADDR base; CORE_ADDR func; - struct minimal_symbol *msym_stack; + struct bound_minimal_symbol msym_stack; struct frame_id id; /* The FUNC is easy. */ @@ -1399,7 +1399,8 @@ frv_frame_this_id (struct frame_info *this_frame, /* Check if the stack is empty. */ msym_stack = lookup_minimal_symbol ("_stack", NULL, NULL); - if (msym_stack && info->base == MSYMBOL_VALUE_ADDRESS (msym_stack)) + if (msym_stack.minsym + && info->base == MSYMBOL_VALUE_ADDRESS (msym_stack.minsym)) return; /* Hopefully the prologue analysis either correctly determined the |