bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/28699] Bad interaction between .loc, .byte causes incorrect DWA


From: amodra at gmail dot com
Subject: [Bug gas/28699] Bad interaction between .loc, .byte causes incorrect DWARF line table, causes corruption under gdb
Date: Wed, 15 Dec 2021 11:41:47 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=28699

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
".byte xx" is not an instruction as far as gas is concerned, it's just data. 
The instruction gas saw was "movq (0x30),%rax" and I believe it is quite
correct to emit dwarf line info for that instruction.

Write "movq gs:0x30,%0" if you want this to work.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]