aboutsummaryrefslogtreecommitdiff
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
commit92846e72ad2df2adc38e1e1db776576cf74db2df (patch)
tree53ac243cf1b6acb686048e2becb57aa5c1bd9db1 /gas/dwarf2dbg.h
parented4a4bdfe47b205396b0e375dc9ddd560c8db00e (diff)
downloadgdb-92846e72ad2df2adc38e1e1db776576cf74db2df.zip
gdb-92846e72ad2df2adc38e1e1db776576cf74db2df.tar.gz
gdb-92846e72ad2df2adc38e1e1db776576cf74db2df.tar.bz2
* 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 ee943ce..3295bd8 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