Fix zero_ext documentation
[deliverable/binutils-gdb.git] / gdb / amd64obsd-tdep.c
index 46bf7c5699bbb554916b490140ed3933eaf2e837..7c79e44bdea93cbffd1d0863de12f3424fb4588e 100644 (file)
@@ -1,6 +1,6 @@
 /* Target-dependent code for OpenBSD/amd64.
 
-   Copyright (C) 2003-2015 Free Software Foundation, Inc.
+   Copyright (C) 2003-2016 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -363,7 +363,7 @@ amd64obsd_trapframe_cache (struct frame_info *this_frame, void **this_cache)
   int i;
 
   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.02617 seconds and 4 git commands to generate.