summaryrefslogtreecommitdiff
path: root/gas/dwarf2dbg.h
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2009-04-24 18:31:29 +0000
committerCary Coutant <ccoutant@google.com>2009-04-24 18:31:29 +0000
commitd37d7ff9584276d270a5cddb4e032dc702fb4770 (patch)
treed3c8585ef5b0e0efbaf12e678a9f1c7aad0ebdf8 /gas/dwarf2dbg.h
parentc26c9c7746e8f45bf09949e7781035064fa65a90 (diff)
downloadbinutils-redhat-d37d7ff9584276d270a5cddb4e032dc702fb4770.tar.gz
* NEWS: Add item about discriminator support.
* dwarf2dbg.h (struct dwarf2_line_info): Add discriminator field. * dwarf2dbg.c (current): Add discriminator field. (dwarf2_where): Copy discriminator value. (dwarf2_consume_line_info): Set discriminator to 0. (dwarf2_directive_loc): Process discriminator sub-op. (out_leb128): New function. (process_entries): Output DW_LNE_set_discriminator. * doc/as.texinfo: Add discriminator operand to .loc directive. * testsuite/gas/lns/lns-common-1.d: Add test for discriminator. * testsuite/gas/lns/lns-common-1.s: Likewise.
Diffstat (limited to 'gas/dwarf2dbg.h')
-rw-r--r--gas/dwarf2dbg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/dwarf2dbg.h b/gas/dwarf2dbg.h
index ee943ce3ea..3295bd85a9 100644
--- a/gas/dwarf2dbg.h
+++ b/gas/dwarf2dbg.h
@@ -34,6 +34,7 @@ struct dwarf2_line_info {
unsigned int column;
unsigned int isa;
unsigned int flags;
+ unsigned int discriminator;
};
/* Implements the .file FILENO "FILENAME" directive. FILENO can be 0