This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 4/6] Implement support for SystemTap probes
- From: Sergio Durigan Junior <sergiodj at redhat dot com>
- To: fche at redhat dot com (Frank Ch. Eigler)
- Cc: Jan Kratochvil <jan dot kratochvil at redhat dot com>, gdb-patches at sourceware dot org, Tom Tromey <tromey at redhat dot com>
- Date: Fri, 12 Aug 2011 18:33:04 -0300
- Subject: Re: [PATCH 4/6] Implement support for SystemTap probes
- References: <m3k4fapvb8.fsf@redhat.com> <4D9D243A.3090505@codesourcery.com> <m3oc4gdima.fsf@redhat.com> <20110812154521.GA28510@host1.jankratochvil.net> <y0msjp6k0jk.fsf@fche.csb>
fche@redhat.com (Frank Ch. Eigler) writes:
> Jan Kratochvil <jan.kratochvil@redhat.com> writes:
>
>> print $_probe_arg0 == x
>> Cannot evaluate expression `112(31)'.
>> (gdb) FAIL: gdb.base/stap-probe.exp: check $_probe_arg0, with semaphore
>
> That should work, "112(31)" means offset 112 from the address in register 31.
Yes, it's actually a problem with the parser on stap-probe.c. I'm
fixing this right now.