*** empty log message ***
[binutils-gdb.git] / gdb / libunwind-frame.c
index b1896dc9fca668eb93385c9b03223cfc662c3ee7..231d9095cc37c5d8418f9111de92c9fa75749193 100644 (file)
@@ -1,6 +1,6 @@
 /* Frame unwinder for frames using the libunwind library.
 
-   Copyright (C) 2003, 2004, 2006, 2007, 2008, 2009
+   Copyright (C) 2003, 2004, 2006, 2007, 2008, 2009, 2010
    Free Software Foundation, Inc.
 
    Written by Jeff Johnston, contributed by Red Hat Inc.
@@ -101,6 +101,7 @@ libunwind_descr_init (struct gdbarch *gdbarch)
 {
   struct libunwind_descr *descr = GDBARCH_OBSTACK_ZALLOC (gdbarch,
                                                          struct libunwind_descr);
+
   return descr;
 }
 
@@ -201,6 +202,7 @@ void
 libunwind_frame_dealloc_cache (struct frame_info *self, void *this_cache)
 {
   struct libunwind_frame_cache *cache = this_cache;
+
   if (cache->as)
     unw_destroy_addr_space_p (cache->as);
 }
@@ -278,8 +280,6 @@ libunwind_frame_this_id (struct frame_info *this_frame, void **this_cache,
 
   if (cache != NULL)
     (*this_id) = frame_id_build (cache->base, cache->func_addr);
-  else
-    (*this_id) = null_frame_id;
 }
 
 struct value *