This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ASAN crash regression [Re: [PATCH 2/2] move the demangled_names_hash into the per-BFD]


>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:

Jan> ./configure ... -fsanitize=address
Jan> echo 'void f(){}main(){}'|gcc -x c++ -
Jan> -g;ASAN_OPTIONS=symbolize=1
Jan> ASAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer ./gdb -batch a.out
Jan> -ex 'file a.out'

Tom> Readily seen with valgrind as well.
Tom> Here's my proposed fix.

I'm checking this in on the trunk and the 7.8 branch.

It turns out that this was PR 16902, so I've updated the ChangeLog.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]