diff options
author | Cary Coutant <ccoutant@google.com> | 2009-04-24 18:31:29 +0000 |
---|---|---|
committer | Cary Coutant <ccoutant@google.com> | 2009-04-24 18:31:29 +0000 |
commit | 92846e72ad2df2adc38e1e1db776576cf74db2df (patch) | |
tree | 53ac243cf1b6acb686048e2becb57aa5c1bd9db1 /gas/dwarf2dbg.h | |
parent | ed4a4bdfe47b205396b0e375dc9ddd560c8db00e (diff) | |
download | gdb-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.h | 1 |
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 |