This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/10318] Bad address reading arg from mark probe
- From: "mjw at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 24 Jun 2009 10:00:53 -0000
- Subject: [Bug translator/10318] Bad address reading arg from mark probe
- References: <20090623142132.10318.mjw@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.