diff mbox

PATCH: Put a breakpoint on __sanitizer::Report

Message ID CAMe9rOqC7Nj=h+WdzSk1f1QBPBqMVEprwb_VPA0gsB_8Q-G3-Q@mail.gmail.com
State New
Headers show

Commit Message

H.J. Lu Jan. 9, 2014, 6:28 p.m. UTC
Hi,

This patch puts a breakpoint on __sanitizer::Report to help
with debugging sanitizer issues.  OK to install?

Thanks.

Comments

Jakub Jelinek Jan. 9, 2014, 6:34 p.m. UTC | #1
On Thu, Jan 09, 2014 at 10:28:56AM -0800, H.J. Lu wrote:
> Hi,
> 
> This patch puts a breakpoint on __sanitizer::Report to help
> with debugging sanitizer issues.  OK to install?

Ok.

> 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

	Jakub
diff mbox

Patch

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