This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH/RFC 01/02 v2] Refactor PRPSINFO handling on Binutils
On Mon, Dec 17, 2012 at 9:41 AM, Sergio Durigan Junior
<sergiodj@redhat.com> wrote:
> On Monday, December 17 2012, H. J. Lu wrote:
>
>> On Sun, Dec 16, 2012 at 7:09 PM, Sergio Durigan Junior
>> <sergiodj@redhat.com> wrote:
>
>>> + if (bed->elf_machine_code == EM_X86_64)
>>> + {
>>> + prstatusx32_t prstat;
>>> + memset (&prstat, 0, sizeof (prstat));
>>> + prstat.pr_pid = pid;
>>> + prstat.pr_cursig = cursig;
>>> + memcpy (&prstat.pr_reg, gregs, sizeof (prstat.pr_reg));
>>> + return elfcore_write_note (abfd, buf, bufsiz, "CORE", note_type,
>>> + &prstat, sizeof (prstat));
>>> + }
>>> + else
>>
>> When will elf_i386_write_core_note be called for
>> x32 process?
>
> Ops, sorry, that code sneaked in apparently. Here's the new version of
> the patch.
>
Can you create a git GDB branch for me to try?
--
H.J.