[gdb/testsuite] Fix assembly comments in gdb.dwarf2/clang-debug-names.exp.tcl
authorTom de Vries <tdevries@suse.de>
Thu, 28 Oct 2021 12:18:15 +0000 (14:18 +0200)
committerTom de Vries <tdevries@suse.de>
Thu, 28 Oct 2021 12:18:15 +0000 (14:18 +0200)
commitfa0fe749f786a7f3e781b43b261300480946e803
tree8a7c679f32a902d7eeb1f2d3c1489904b633f0bd
parent5b151607e1faf27238e9dce6d3124741779dcc3a
[gdb/testsuite] Fix assembly comments in gdb.dwarf2/clang-debug-names.exp.tcl

On openSUSE Leap 15.2 aarch64 I ran into:
...
clang-debug-names-debug.S:72: \
  Error: junk at end of line, first unrecognized character is `#'
...
due to:
...
    71  .Ldebug_names_start:
    72    .short 5                      # Header: version
...

Fix this by using the /* ... */ comment style instead:
...
$ sed -i 's% #\([^"]*\)%/*\1 */%' clang-debug-names.exp.tcl
...

Tested on aarch64-linux and x86_64-linux.
gdb/testsuite/gdb.dwarf2/clang-debug-names.exp.tcl