This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: Put a breakpoint on __sanitizer::Report
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>, Jakub Jelinek <jakub at redhat dot com>
- Date: Thu, 9 Jan 2014 10:28:56 -0800
- Subject: PATCH: Put a breakpoint on __sanitizer::Report
- Authentication-results: sourceware.org; auth=none
Hi,
This patch puts a breakpoint on __sanitizer::Report to help
with debugging sanitizer issues. OK to install?
Thanks.
--
H.J.
--
2014-01-09 H.J. Lu <hongjiu.lu@intel.com>
* gdbasan.in: Put a breakpoint on __sanitizer::Report.
diff --git a/gcc/gdbasan.in b/gcc/gdbasan.in
index cf05825..3a6fca0 100644
--- a/gcc/gdbasan.in
+++ b/gcc/gdbasan.in
@@ -1,3 +1,7 @@
# Put a breakpoint on __asan_report_error to help with debugging buffer
# overflow.
b __asan_report_error
+
+# Put a breakpoint on __sanitizer::Report to help with debugging sanitizer
+# issues.
+b __sanitizer::Report