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: PATCH: PR gdb/13969: GDBserver doesn't check unsupported binary


On Thu, Apr 12, 2012 at 9:53 AM, Pedro Alves <palves@redhat.com> wrote:
> On 04/12/2012 05:45 PM, H.J. Lu wrote:
>
>> x32 ptrace returns x32 siginfo,
>
>
> ok.
>
>> which is compatible with ia32 inferior
>
>
> I believe clock_t will be 64-bit with x32, however, right?
> If so, amd64-linux-nat.c:compat_siginfo_from_siginfo|siginfo_from_compat_siginfo
> (and the gdbserver equivalents) will need adjustment (for the 64-bit X x32 case).
> This is something most probably not caught by the testsuite.
>

That is true.  I submitted a patch for GDBserver at:

http://sourceware.org/ml/gdb-patches/2012-04/msg00313.html

amd64-linux-nat.c changes on hjl/x32/master branch at

http://sourceware.org/git/?p=gdb.git;a=summary

which will be submitted separately.

Thanks.

-- 
H.J.


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