projects
/
platform
/
upstream
/
gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 7.9
[platform/upstream/gdb.git]
/
gdb
/
frame-unwind.c
diff --git
a/gdb/frame-unwind.c
b/gdb/frame-unwind.c
index
fdfea6e
..
e73650a
100644
(file)
--- a/
gdb/frame-unwind.c
+++ b/
gdb/frame-unwind.c
@@
-1,6
+1,6
@@
/* Definitions for frame unwinder, for GDB, the GNU debugger.
/* Definitions for frame unwinder, for GDB, the GNU debugger.
- Copyright (C) 2003-201
4
Free Software Foundation, Inc.
+ Copyright (C) 2003-201
5
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-24,8
+24,6
@@
#include "inline-frame.h"
#include "value.h"
#include "regcache.h"
#include "inline-frame.h"
#include "value.h"
#include "regcache.h"
-#include "exceptions.h"
-#include "gdb_assert.h"
#include "gdb_obstack.h"
#include "target.h"
#include "gdb_obstack.h"
#include "target.h"
@@
-203,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);
"<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);
VALUE_LVAL (val) = lval_register;
VALUE_REGNUM (val) = regnum;
VALUE_FRAME_ID (val) = get_frame_id (frame);