common/filestuff.c (make_cleanup_close): Update comment.
[deliverable/binutils-gdb.git] / gdb / moxie-tdep.c
index 555151d6282b059f0e91eebc655a131486f010f0..3236012cc1b904e99a696067c5d86e51a7f3d9e4 100644 (file)
@@ -241,7 +241,7 @@ moxie_skip_prologue (struct gdbarch *gdbarch, CORE_ADDR pc)
          plg_end = moxie_analyze_prologue (func_addr, 
                                            func_end, &cache, gdbarch);
          /* Found a function.  */
-         sym = lookup_symbol (func_name, NULL, VAR_DOMAIN, NULL);
+         sym = lookup_symbol (func_name, NULL, VAR_DOMAIN, NULL).symbol;
          /* Don't use line number debug info for assembly source
             files.  */
          if (sym && SYMBOL_LANGUAGE (sym) != language_asm)
@@ -570,7 +570,7 @@ moxie_frame_cache (struct frame_info *this_frame, void **this_cache)
   int i;
 
   if (*this_cache)
-    return *this_cache;
+    return (struct moxie_frame_cache *) *this_cache;
 
   cache = moxie_alloc_frame_cache ();
   *this_cache = cache;
This page took 0.0242 seconds and 4 git commands to generate.