This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Fix gdbserver qGetTLSAddr for x86_64 -m32
- From: Tom Tromey <tromey at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 19 May 2014 09:07:49 -0600
- Subject: Re: [patch] Fix gdbserver qGetTLSAddr for x86_64 -m32
- Authentication-results: sourceware.org; auth=none
- References: <20140410114901 dot GA16411 at host2 dot jankratochvil dot net>
>>>>> "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