[Bug translator/10408] IA-32 - stap unable to decode parameter location using DWARF
mhiramat at redhat dot com
sourceware-bugzilla@sourceware.org
Wed Jul 29 16:58:00 GMT 2009
------- Additional Comments From mhiramat at redhat dot com 2009-07-29 16:58 -------
Verified on bear Fedora11:
kernel-PAE-2.6.29.6-213.fc11.i686
systemtap-0.9.8-1.fc11.i586
Here is the c code generated by stap -p3.
---
c->last_stmt = "identifier '$epfd' at
/usr/share/systemtap/tapset/syscalls.stp:657:37";
if (unlikely (c->nesting+2 >= MAXNESTING)) {
c->last_error = "MAXNESTING exceeded";
return;
} else {
c->nesting ++;
}
l->__retvalue = 0;
#define return goto out
{
{
{
intptr_t addr;
{ // DWARF expression: 0x71
{
intptr_t s0;
s0 = fetch_register (1) + 0L;
addr = s0;
}
}
{ int32_t value = deref (4, addr);THIS->__retvalue = value; }
---
fetch_register(1) is regs->cx. Should that be reg->sp(or fetch_register(4))?
BTW, this kernel is built with ftrace(mcount).
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10408
------- 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