diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2013-12-04 14:53:36 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2013-12-04 06:53:36 -0800 |
commit | 3bd7b086fdd32ce44e735929351bfbc832e5bfaa (patch) | |
tree | 4b10e399d12e88199b5297e69184574fb0ede80d /gcc/gdbasan.in | |
parent | ecd78fc9ab2350579bfdcd25676a2864bbf4b04b (diff) | |
download | gcc-3bd7b086fdd32ce44e735929351bfbc832e5bfaa.zip gcc-3bd7b086fdd32ce44e735929351bfbc832e5bfaa.tar.gz gcc-3bd7b086fdd32ce44e735929351bfbc832e5bfaa.tar.bz2 |
Put a breakpoint on __asan_report_error for ASAN
* configure.ac: Append gdbasan.in to .gdbinit if CFLAGS contains
-fsanitize=address.
* configure: Regenerated.
* gdbasan.in: New file.
From-SVN: r205669
Diffstat (limited to 'gcc/gdbasan.in')
-rw-r--r-- | gcc/gdbasan.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/gdbasan.in b/gcc/gdbasan.in new file mode 100644 index 0000000..cf05825 --- /dev/null +++ b/gcc/gdbasan.in @@ -0,0 +1,3 @@ +# Put a breakpoint on __asan_report_error to help with debugging buffer +# overflow. +b __asan_report_error |