unwind-cxx.h: Include sys/sdt.h if detected.
authorTom Tromey <tromey@redhat.com>
Fri, 15 Mar 2013 08:55:07 +0000 (08:55 +0000)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 15 Mar 2013 08:55:07 +0000 (09:55 +0100)
commit83c214a83559727f5215fcc9b293e14f427730b8
treedd1140722871f720e036bdc5b3cf325a5ccd3b10
parentd0a7de7055d1ded39c4e0cfe0ed0411bcd69a1f9
unwind-cxx.h: Include sys/sdt.h if detected.

* libsupc++/unwind-cxx.h: Include sys/sdt.h if detected.
(PROBE2): New macro.
* libsupc++/eh_throw.cc (__cxa_throw, __cxa_rethrow): Add probe.
* libsupc++/eh_catch.cc (__cxa_begin_catch): Add probe.
* configure.ac: Check for sys/sdt.h.
* configure, config.h.in: Rebuild.

From-SVN: r196674
libstdc++-v3/ChangeLog
libstdc++-v3/config.h.in
libstdc++-v3/configure
libstdc++-v3/configure.ac
libstdc++-v3/libsupc++/eh_catch.cc
libstdc++-v3/libsupc++/eh_throw.cc
libstdc++-v3/libsupc++/unwind-cxx.h