[binutils-gdb] [gas] Update .loc syntax comment in dwarf2dbg.c

Tom de Vries vries@sourceware.org
Thu Feb 2 14:07:49 GMT 2023


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4a075b258e6f27f7323d57ec046549aad5e1a702

commit 4a075b258e6f27f7323d57ec046549aad5e1a702
Author: Tom de Vries <tdevries@suse.de>
Date:   Thu Feb 2 15:07:44 2023 +0100

    [gas] Update .loc syntax comment in dwarf2dbg.c
    
    I noticed that a comment in gas/dwarf2dbg.c describing .loc syntax was missing
    the "view VALUE" option.
    
    Fix this by adding the missing option.

Diff:
---
 gas/dwarf2dbg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c
index 05f966256e4..f04f2975b5b 100644
--- a/gas/dwarf2dbg.c
+++ b/gas/dwarf2dbg.c
@@ -25,7 +25,7 @@
 	.file FILENO "file.c"
 	.loc  FILENO LINENO [COLUMN] [basic_block] [prologue_end] \
 	      [epilogue_begin] [is_stmt VALUE] [isa VALUE] \
-	      [discriminator VALUE]
+	      [discriminator VALUE] [view VALUE]
 */
 
 #include "as.h"


More information about the Binutils-cvs mailing list