From 42be36b328ae784ae6981da7c7cab95b67ed7737 Mon Sep 17 00:00:00 2001 From: Caroline Tice Date: Fri, 18 May 2007 19:42:42 +0000 Subject: 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. --- gdb/dwarf2expr.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gdb/dwarf2expr.h') diff --git a/gdb/dwarf2expr.h b/gdb/dwarf2expr.h index ef85275..c1adf9a 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. -- cgit v1.1