From: "H.J. Lu" <hjl.tools@gmail.com>
To: Mark Kettenis <mark.kettenis@xs4all.nl>
Cc: gdb-patches@sourceware.org
Subject: Re: PATCH: Check bfd_mach_x64_32 to set tdesc for x32 binary
Date: Fri, 11 May 2012 20:56:00 -0000 [thread overview]
Message-ID: <CAMe9rOqwRcAUzBX4tinxMxNRAfqnyHBt+w0Yp1La_49+SWc_VQ@mail.gmail.com> (raw)
In-Reply-To: <201205112031.q4BKV2s4004871@glazunov.sibelius.xs4all.nl>
On Fri, May 11, 2012 at 1:31 PM, Mark Kettenis <mark.kettenis@xs4all.nl> wrote:
>> Date: Fri, 11 May 2012 12:29:49 -0700
>> From: "H.J. Lu" <hongjiu.lu@intel.com>
>>
>> This patch checks bfd_mach_x64_32 to set tdesc for x32 binary. Tested
>> on Linux/x86-64. OK to install?
>>
>> Thanks.
>>
>> * amd64-linux-tdep.h (tdesc_x32_linux): New.
>> (tdesc_x32_avx_linux): Likewise.
>
> You should commit this bit seperately.
>
>> diff --git a/gdb/amd64-linux-tdep.h b/gdb/amd64-linux-tdep.h
>> index 0338b6e..49bb95e 100644
>> --- a/gdb/amd64-linux-tdep.h
>> +++ b/gdb/amd64-linux-tdep.h
>> @@ -34,6 +34,8 @@
>> /* Linux target description. */
>> extern struct target_desc *tdesc_amd64_linux;
>> extern struct target_desc *tdesc_amd64_avx_linux;
>> +extern struct target_desc *tdesc_x32_linux;
>> +extern struct target_desc *tdesc_x32_avx_linux;
>>
>> /* Enum that defines the syscall identifiers for amd64 linux.
>> Used for process record/replay, these will be translated into
>>
I will do that. Thanks.
--
H.J.
next prev parent reply other threads:[~2012-05-11 20:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-11 19:30 H.J. Lu
2012-05-11 20:20 ` Mark Kettenis
2012-05-11 23:13 ` H.J. Lu
2012-05-14 18:10 ` H.J. Lu
2012-05-14 18:42 ` Mark Kettenis
2012-05-14 19:02 ` H.J. Lu
2012-05-11 20:31 ` Mark Kettenis
2012-05-11 20:56 ` H.J. Lu [this message]
2012-05-12 1:38 ` Yao Qi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAMe9rOqwRcAUzBX4tinxMxNRAfqnyHBt+w0Yp1La_49+SWc_VQ@mail.gmail.com \
--to=hjl.tools@gmail.com \
--cc=gdb-patches@sourceware.org \
--cc=mark.kettenis@xs4all.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox