aboutsummaryrefslogtreecommitdiff
path: root/gas/doc/as.texinfo
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/doc/as.texinfo
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/doc/as.texinfo')
-rw-r--r--gas/doc/as.texinfo4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo
index f43e538..682b368 100644
--- a/gas/doc/as.texinfo
+++ b/gas/doc/as.texinfo
@@ -5108,6 +5108,10 @@ either 0 or 1.
This directive will set the @code{isa} register in the @code{.debug_line}
state machine to @var{value}, which must be an unsigned integer.
+@item discriminator @var{value}
+This directive will set the @code{discriminator} register in the @code{.debug_line}
+state machine to @var{value}, which must be an unsigned integer.
+
@end table
@node Loc_mark_labels