[patch] Fix gdbserver qGetTLSAddr for x86_64 -m32

Tom Tromey tromey@redhat.com
Mon May 19 15:08:00 GMT 2014


>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:

Jan> gdbserver makes libthread_db to access uninitialized memory.
Jan> Surprisingly it does not harm normally, even -fsanitize=address
Jan> works with current gdbserver.

Jan> 2014-04-10  Jan Kratochvil  <jan.kratochvil@redhat.com>

Jan> 	Fix gdbserver qGetTLSAddr for x86_64 -m32.
Jan> 	* linux-x86-low.c (X86_64_USER_REGS): New.
Jan> 	(x86_fill_gregset): Call memset for BUF first in x86_64 -m32 case.

Ok.

Tom



More information about the Gdb-patches mailing list