[Bug translator/6871] uprobes $context values often wrong
fche at redhat dot com
sourceware-bugzilla@sourceware.org
Thu Sep 11 18:41:00 GMT 2008
------- 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.
More information about the Systemtap
mailing list