[Bug translator/10318] Bad address reading arg from mark probe

mjw at redhat dot com sourceware-bugzilla@sourceware.org
Wed Jun 24 10:01:00 GMT 2009


------- Additional Comments From mjw at redhat dot com  2009-06-24 10:00 -------
I suspect we do something wrong with the "fetch_register (5)".
gdb seems able to resolve the arg1 variable fine:

Breakpoint 1, 0x080484c3 in main_func (foo=3)
    at /home/mark/src/systemtap/testsuite/systemtap.exelib/uprobes_exe.c:25
25	  STAP_PROBE1(test, main_count, foo);
(gdb) print arg1
$1 = 3
(gdb) print &arg1
$2 = (volatile int *) 0xffffd2ec


-- 


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

------- 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