PATCH: Put a breakpoint on __sanitizer::Report

Jakub Jelinek jakub@redhat.com
Thu Jan 9 18:34:00 GMT 2014


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



More information about the Gcc-patches mailing list