Use canonicalize_file_name unconditionally
[deliverable/binutils-gdb.git] / gdb / frame-unwind.c
index ebc01ff7d91374c8dc9004158475056b6c8222d1..9fdeceff9dd7e255e983da3864dbb53162404b8a 100644 (file)
@@ -24,7 +24,6 @@
 #include "inline-frame.h"
 #include "value.h"
 #include "regcache.h"
-#include "exceptions.h"
 #include "gdb_obstack.h"
 #include "target.h"
 
@@ -202,7 +201,7 @@ frame_unwind_got_optimized (struct frame_info *frame, int regnum)
      "<not saved>".  */
   val = allocate_value_lazy (type);
   set_value_lazy (val, 0);
-  set_value_optimized_out (val, 1);
+  mark_value_bytes_optimized_out (val, 0, TYPE_LENGTH (type));
   VALUE_LVAL (val) = lval_register;
   VALUE_REGNUM (val) = regnum;
   VALUE_FRAME_ID (val) = get_frame_id (frame);
This page took 0.025004 seconds and 4 git commands to generate.