aboutsummaryrefslogtreecommitdiff
path: root/include/elf
diff options
context:
space:
mode:
authorCaroline Tice <cmtice@google.com>2007-05-18 19:42:42 +0000
committerCaroline Tice <cmtice@google.com>2007-05-18 19:42:42 +0000
commit42be36b328ae784ae6981da7c7cab95b67ed7737 (patch)
tree5b0a0ffb49db6fe2d5c149e62e5d84f2c9de39b7 /include/elf
parenta7c569c8f08b3485034e771a5e49cce0e23ca2b2 (diff)
downloadgdb-42be36b328ae784ae6981da7c7cab95b67ed7737.zip
gdb-42be36b328ae784ae6981da7c7cab95b67ed7737.tar.gz
gdb-42be36b328ae784ae6981da7c7cab95b67ed7737.tar.bz2
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 'include/elf')
-rw-r--r--include/elf/dwarf2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/elf/dwarf2.h b/include/elf/dwarf2.h
index 264952a..2683f51 100644
--- a/include/elf/dwarf2.h
+++ b/include/elf/dwarf2.h
@@ -540,6 +540,7 @@ enum dwarf_location_atom
DW_OP_bit_piece = 0x9d,
/* GNU extensions. */
DW_OP_GNU_push_tls_address = 0xe0,
+ DW_OP_GNU_uninit = 0xf0,
/* HP extensions. */
DW_OP_HP_unknown = 0xe0, /* Ouch, the same as GNU_push_tls_address. */
DW_OP_HP_is_value = 0xe1,