summaryrefslogtreecommitdiff
path: root/gcc/unwind-dw2.h
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-04 11:41:16 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-04 11:41:16 +0000
commitd02454a0d2e61b542b55db4f65bb6763d714a922 (patch)
tree1ec79fced82ed21a4a99ea0de1bfbb49408cc202 /gcc/unwind-dw2.h
parent19f6bf8d98e213f2da574c5e090fa959b4177fc0 (diff)
downloadgcc-d02454a0d2e61b542b55db4f65bb6763d714a922.tar.gz
* unwind-dw2.h (_Unwind_FrameState): Add REG_UNDEFINED enum value.
* unwind-dw2.c (execute_cfa_program): Set how to REG_UNDEFINED instead of REG_UNSAVED for DW_CFA_undefined. (uw_update_context_1): Handle REG_UNDEFINED the same as REG_UNSAVED. (uw_update_context): If RA column is REG_UNDEFINED, mark it as outermost frame. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145535 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/unwind-dw2.h')
-rw-r--r--gcc/unwind-dw2.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/unwind-dw2.h b/gcc/unwind-dw2.h
index db3a1ab222c..7f643c5ec9d 100644
--- a/gcc/unwind-dw2.h
+++ b/gcc/unwind-dw2.h
@@ -1,5 +1,5 @@
/* DWARF2 frame unwind data structure.
- Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003
+ Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2009
Free Software Foundation, Inc.
This file is part of GCC.
@@ -55,7 +55,8 @@ typedef struct
REG_SAVED_REG,
REG_SAVED_EXP,
REG_SAVED_VAL_OFFSET,
- REG_SAVED_VAL_EXP
+ REG_SAVED_VAL_EXP,
+ REG_UNDEFINED
} how;
} reg[DWARF_FRAME_REGISTERS+1];