gdb/record-full: Use xmalloc instead of alloca for temporary memory storage.
[deliverable/binutils-gdb.git] / gdb / vaxobsd-tdep.c
index 4e2701f79fa7cbec4d1aa476b5b61a5f0c849310..af3c7faa86e88823080f131639af6ebe408a7147 100644 (file)
@@ -87,7 +87,7 @@ vaxobsd_sigtramp_frame_cache (struct frame_info *this_frame, void **this_cache)
   CORE_ADDR addr, base, func;
 
   if (*this_cache)
-    return *this_cache;
+    return (struct trad_frame_cache *) *this_cache;
 
   cache = trad_frame_cache_zalloc (this_frame);
   *this_cache = cache;
This page took 0.023589 seconds and 4 git commands to generate.