]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/frv-tdep.c
start change to progspace independence
[thirdparty/binutils-gdb.git] / gdb / frv-tdep.c
index acb0ba3eb50c8af6b62b67c7d488025da4c05e90..bd4dbdb2c1b925d3242bd10e100ec6b159c41969 100644 (file)
@@ -39,6 +39,7 @@
 #include "infcall.h"
 #include "solib.h"
 #include "frv-tdep.h"
+#include "objfiles.h"
 
 extern void _initialize_frv_tdep (void);
 
@@ -1399,8 +1400,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