This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/6871] uprobes $context values often wrong


------- Additional Comments From fche at redhat dot com  2008-09-11 18:40 -------
On rhel5.1's gcc (4.1.2+), function parameter location list data is not
as accurate for userspace as it is for kernel.  This may be due to 
the kernel's regparms option.

Until this is fixed, stap may need to apply the same darned prologue-searching
heuristics that we so gladly disabled for the kernel.  Drats.

(Even a simple hello-world shows the issue.  gcc 4.1.2 i686:
  int main(int argc, char *argv) { }
with a breakpoint set by gdb on the entry address
  (gdb) break *0xaddr
the argc/argv values won't show correctly either.)


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aoliva at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=6871

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]