X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Ffrv-tdep.c;h=f7fd00b85071e0c63f25ca38700b15d758561e70;hb=3b27ef472df3b4cdcdd54629281610d594c99c97;hp=acb0ba3eb50c8af6b62b67c7d488025da4c05e90;hpb=3b7344d5ab495cd82b6c72ec5e00d018549837fb;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/frv-tdep.c b/gdb/frv-tdep.c index acb0ba3eb5..f7fd00b850 100644 --- a/gdb/frv-tdep.c +++ b/gdb/frv-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for the Fujitsu FR-V, for GDB, the GNU Debugger. - Copyright (C) 2002-2014 Free Software Foundation, Inc. + Copyright (C) 2002-2015 Free Software Foundation, Inc. This file is part of GDB. @@ -18,7 +18,6 @@ along with this program. If not, see . */ #include "defs.h" -#include #include "inferior.h" #include "gdbcore.h" #include "arch-utils.h" @@ -28,7 +27,6 @@ #include "frame-base.h" #include "trad-frame.h" #include "dis-asm.h" -#include "gdb_assert.h" #include "sim-regno.h" #include "gdb/sim-frv.h" #include "opcodes/frv-desc.h" /* for the H_SPR_... enums */ @@ -39,6 +37,7 @@ #include "infcall.h" #include "solib.h" #include "frv-tdep.h" +#include "objfiles.h" extern void _initialize_frv_tdep (void); @@ -1399,8 +1398,7 @@ 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.minsym - && info->base == MSYMBOL_VALUE_ADDRESS (msym_stack.minsym)) + if (msym_stack.minsym && info->base == BMSYMBOL_VALUE_ADDRESS (msym_stack)) return; /* Hopefully the prologue analysis either correctly determined the