This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/6871] uprobes $context values often wrong
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 11 Sep 2008 18:40:31 -0000
- Subject: [Bug translator/6871] uprobes $context values often wrong
- References: <20080906145153.6871.fche@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.