[Ada] GDB crash during "finish" of function with out parameters
[deliverable/binutils-gdb.git] / gdb / xstormy16-tdep.c
index 92e3b3792b56d8b75a1f05618c2349e7d7a2f23a..ee28e426d46235719539635920405d6054ab5158 100644 (file)
@@ -678,7 +678,7 @@ xstormy16_frame_cache (struct frame_info *this_frame, void **this_cache)
   int i;
 
   if (*this_cache)
-    return *this_cache;
+    return (struct xstormy16_frame_cache *) *this_cache;
 
   cache = xstormy16_alloc_frame_cache ();
   *this_cache = cache;
This page took 0.024776 seconds and 4 git commands to generate.