This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix interrupt.exp fails with m32 in x86_64
- From: Pedro Alves <palves at redhat dot com>
- To: Hui Zhu <teawater at gmail dot com>
- Cc: Mark Kettenis <mark dot kettenis at xs4all dot nl>, Hui Zhu <hui_zhu at mentor dot com>, gdb-patches ml <gdb-patches at sourceware dot org>
- Date: Tue, 29 Apr 2014 18:05:29 +0100
- Subject: Re: [PATCH] Fix interrupt.exp fails with m32 in x86_64
- Authentication-results: sourceware.org; auth=none
- References: <53554475 dot 3010201 at mentor dot com> <201404211827 dot s3LIRL6a007871 at glazunov dot sibelius dot xs4all dot nl> <CANFwon2cqqDPTg5hAUzHt0iCEjp8RrJxQf1ETouDU0EKfH+XKQ at mail dot gmail dot com>
On 04/29/2014 04:56 PM, Hui Zhu wrote:
> I am sorry that the root cause of issue has something wrong.
> The right root cause is:
> When inferior call 32 bits syscall "read", Linux kernel function
> "ia32_cstar_target" will set TS_COMPAT to current_thread_info->status.
Thanks a lot of tracking this stuff down. I appreciate the effort.
It'd be great if we got an ack on the kernel side on what's
going on before we considered working around it in GDB.
Thanks,
--
Pedro Alves