[Bug translator/12609] Cannot see variable values in partial inlined functions with gcc 4.6

fche at redhat dot com sourceware-bugzilla@sourceware.org
Fri Apr 10 14:53:21 GMT 2020


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

Frank Ch. Eigler <fche at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #5 from Frank Ch. Eigler <fche at redhat dot com> ---
with gcc 9.3.1 and current systemtap, the stap -v -L shows:

process("foo").function("foo@foo.c:9") /* pc=.absolute+0x1170 */ $x:int
process("foo").function("foo@foo.c:9") /* pc=.absolute+0x105a */ $b:int
process("foo").function("foo@foo.c:9") /* pc=.absolute+0x106f */ $x:int $a:int
$b:int

so different variables in different inlined variants of the function.  That
seems about right.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Systemtap mailing list