[Ada] GDB crash during "finish" of function with out parameters
[deliverable/binutils-gdb.git] / gdb / tilegx-tdep.c
index 65f072922755cac287f93caadafa386de5fa2231..c2b00362573ceb4c2fe813fa598388b663836e02 100644 (file)
@@ -869,7 +869,7 @@ tilegx_frame_cache (struct frame_info *this_frame, void **this_cache)
   int i;
 
   if (*this_cache)
-    return *this_cache;
+    return (struct tilegx_frame_cache *) *this_cache;
 
   cache = FRAME_OBSTACK_ZALLOC (struct tilegx_frame_cache);
   *this_cache = cache;
This page took 0.024036 seconds and 4 git commands to generate.