Message ID | CAMe9rOqC7Nj=h+WdzSk1f1QBPBqMVEprwb_VPA0gsB_8Q-G3-Q@mail.gmail.com |
---|---|
State | New |
Headers | show |
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 --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