Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "H.J. Lu" <hjl.tools@gmail.com>
To: Mark Kettenis <mark.kettenis@xs4all.nl>
Cc: gdb-patches@sourceware.org
Subject: Gcore doesn't work on i386 without SSE
Date: Thu, 08 Apr 2010 23:07:00 -0000	[thread overview]
Message-ID: <i2x6dc9ffc81004081607m116b41e7oa7cc1fc936cc36d2@mail.gmail.com> (raw)

On Wed, Apr 7, 2010 at 3:13 AM, Mark Kettenis <mark.kettenis@xs4all.nl> wrote:
>> Date: Fri, 2 Apr 2010 08:27:55 -0700
>> From: "H.J. Lu" <hjl.tools@gmail.com>
>>
>> On Fri, Apr 2, 2010 at 7:41 AM, Mark Kettenis <mark.kettenis@xs4all.nl> wrote:
>> >> Date: Fri, 2 Apr 2010 07:31:07 -0700
>> >> From: "H.J. Lu" <hongjiu.lu@intel.com>
>> >>
>> >> On Sun, Mar 28, 2010 at 06:11:24PM -0700, H.J. Lu wrote:
>> >> > Hi,
>> >> >
>> >> > Here are i386 changes to support AVX. OK to install?
>> >> >
>> >>
>> >> Here is the updated i386 changes to support AVX. OK to install?
>> >
>> > Sorry, but I'm still unhappy with the way you modify the
>> > i386_linux_regset_sections[] array at run time.  I think the best
>> > thing to do is to have gcore *always* create a NT_X86_XSTATE note of
>>
>> Generate NT_X86_XSTATE note without kernel/processor
>> NT_X86_XSTATE note support may require changes to
>> existing FXSAVE code path.  I will investigate it.
>>
>> BTW, I have a follow up patch to implement 32bit core
>> registers without SSE registers to properly support older
>> processors, like Pentium and Pentium Pro.  Should
>> "gcore" generate NT_PRXFPREG note?
>
> Probably.  It'll surely make the code simpler.
>

Hi Mark,

It doesn't work:

http://www.sourceware.org/bugzilla/show_bug.cgi?id=11481

I think it will be simpler not to generate such note if
the processor doesn't support it.

The fundamental question is if coredump generated by
gcore should be as close to the one generated by OS
as possible.


-- 
H.J.


             reply	other threads:[~2010-04-08 23:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-08 23:07 H.J. Lu [this message]
2010-04-08 23:37 ` Michael Snyder

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=i2x6dc9ffc81004081607m116b41e7oa7cc1fc936cc36d2@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