This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch: add systemtap-style marker to _Unwind_DebugHook
- From: Tom Tromey <tromey at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: systemtap at sources dot redhat dot com
- Date: Mon, 14 Mar 2011 12:12:06 -0600
- Subject: Re: Patch: add systemtap-style marker to _Unwind_DebugHook
- References: <m3k4i7p9l3.fsf@fleche.redhat.com> <20110116200848.F0EF11807D2@magilla.sf.frob.com> <m3sjwrlhth.fsf@fleche.redhat.com> <20110117170650.0404F18099A@magilla.sf.frob.com> <m3k4i3jvfk.fsf@fleche.redhat.com>
Roland> That test would work. (That macro is not defined at all in
Roland> earlier versions.)
Tom> Here is an updated version.
Tom> 2011-01-14 Tom Tromey <tromey@redhat.com>
Tom> * unwind-dw2.c: Include sys/sdt.h if it exists.
Tom> (_Unwind_DebugHook): Use STAP_PROBE2.
Tom> * config.in, configure: Rebuild.
Tom> * configure.ac: Check for sys/sdt.h.
Now that Stage 1 is open, I am checking this in.
Tom