aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2-frame.h
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2006-05-28 05:56:50 +0000
committerAlexandre Oliva <aoliva@redhat.com>2006-05-28 05:56:50 +0000
commit46ea248bcc124c1874e8783c5e4cd90dae6610a2 (patch)
tree6aa171631bcbe0beb72c7da00ff0d576c6cd8958 /gdb/dwarf2-frame.h
parent56c987f6063485c5c588dc27dbf1b3ddce3b0200 (diff)
downloadgdb-46ea248bcc124c1874e8783c5e4cd90dae6610a2.zip
gdb-46ea248bcc124c1874e8783c5e4cd90dae6610a2.tar.gz
gdb-46ea248bcc124c1874e8783c5e4cd90dae6610a2.tar.bz2
* dwarf2-frame.h (enum dwarf2_frame_reg_rule): Add
DWARF2_FRAME_REG_SAVED_VAL_OFFSET and DWARF2_FRAME_REG_SAVED_VAL_EXP. * dwarf2-frame.c (execute_cfa_program): Handle val_offset, val_offset_sf and val_expression. (dwarf2_frame_prev_register): Handle the new reg rules. (dwarf2_frame_this_id): Use pc instead of function entry point.
Diffstat (limited to 'gdb/dwarf2-frame.h')
-rw-r--r--gdb/dwarf2-frame.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/dwarf2-frame.h b/gdb/dwarf2-frame.h
index da9fe47..15f456d 100644
--- a/gdb/dwarf2-frame.h
+++ b/gdb/dwarf2-frame.h
@@ -51,6 +51,10 @@ enum dwarf2_frame_reg_rule
DWARF2_FRAME_REG_SAVED_EXP,
DWARF2_FRAME_REG_SAME_VALUE,
+ /* These are defined in Dwarf3. */
+ DWARF2_FRAME_REG_SAVED_VAL_OFFSET,
+ DWARF2_FRAME_REG_SAVED_VAL_EXP,
+
/* These aren't defined by the DWARF2 CFI specification, but are
used internally by GDB. */
DWARF2_FRAME_REG_RA, /* Return Address. */