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/10318] Bad address reading arg from mark probe


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


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