https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97713

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Tom de Vries from comment #0)
> and copy to hello.s and modify:
> ...
> $ diff -u a-hello.s hello.s
> --- a-hello.s   2020-11-04 13:12:57.188966796 +0100
> +++ hello.s     2020-11-04 13:14:48.632059272 +0100
> @@ -156,6 +156,7 @@
>         .byte   0
>         .byte   0       # end of skeleton .debug_abbrev
>         .section        .debug_abbrev.dwo,"e",@progbits
> +       .uleb128 0x0    # (abbrev code)
>  .Ldebug_abbrev0:
>         .uleb128 0x1    # (abbrev code)
>         .uleb128 0x11   # (TAG: DW_TAG_compile_unit)
> ...

And forgot to mention, recompile:
...
$ gcc-11 hello.s -g -gsplit-dwarf -save-temps
...

Reply via email to