Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Gcore doesn't work on i386 without SSE
@ 2010-04-08 23:07 H.J. Lu
  2010-04-08 23:37 ` Michael Snyder
  0 siblings, 1 reply; 2+ messages in thread
From: H.J. Lu @ 2010-04-08 23:07 UTC (permalink / raw)
  To: Mark Kettenis; +Cc: gdb-patches

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-08 23:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-08 23:07 Gcore doesn't work on i386 without SSE H.J. Lu
2010-04-08 23:37 ` Michael Snyder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox