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

Message ID 20230202140811.20373-1-tdevries@suse.de
State Repeat Merge
Headers
Series [pushed,gas] Update .loc syntax comment in dwarf2dbg.c |

Checks

Context Check Description
snail/binutils-gdb-check warning Git am fail log

Commit Message

Tom de Vries Feb. 2, 2023, 2:08 p.m. UTC
  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(-)


base-commit: 839c8aaa431c21d5404b3e007989f6ecfa86f094
  

Patch

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"