[pushed] [gas] Update .loc syntax comment in dwarf2dbg.c

Tom de Vries tdevries@suse.de
Thu Feb 2 14:08:11 GMT 2023


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.
---
 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"

base-commit: 839c8aaa431c21d5404b3e007989f6ecfa86f094
-- 
2.35.3



More information about the Binutils mailing list