diff options
author | Caroline Tice <ctice@apple.com> | 2007-05-18 19:42:42 +0000 |
---|---|---|
committer | Caroline Tice <ctice@apple.com> | 2007-05-18 19:42:42 +0000 |
commit | a066b025537456ea90038719ecdc4c5ce8b80bd4 (patch) | |
tree | b14fc80cca5529addf5d8affd2f4be166cfc47c5 /gdb/dwarf2expr.h | |
parent | 6441392b785a9179f72ad43a85c16a517fc0e426 (diff) | |
download | gdb-a066b025537456ea90038719ecdc4c5ce8b80bd4.tar.gz |
Add ability to report when a variable's value is uninitialized,
based on information provided by the compiler. Also add new
DWARF OP, DW_OP_GNU_uninit, for this purpose.
Diffstat (limited to 'gdb/dwarf2expr.h')
-rw-r--r-- | gdb/dwarf2expr.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/dwarf2expr.h b/gdb/dwarf2expr.h index ef85275e3c9..c1adf9ad687 100644 --- a/gdb/dwarf2expr.h +++ b/gdb/dwarf2expr.h @@ -76,6 +76,10 @@ struct dwarf_expr_context will be on the expression stack. */ int in_reg; + /* Initialization status of variable: Non-zero if variable has been + initialized; zero otherwise. */ + int initialized; + /* An array of pieces. PIECES points to its first element; NUM_PIECES is its length. |