Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Michael Snyder <msnyder@redhat.com>
To: thorpej@wasabisystems.com
Cc: Mark Kettenis <kettenis@science.uva.nl>,
	gdb-patches@sourceware.cygnus.com
Subject: Re: [patch] Overhaul i386nbsd-nat.c, add support for XMM + ELF core  files
Date: Fri, 04 Jan 2002 19:28:00 -0000	[thread overview]
Message-ID: <3C3671C2.253B6799@redhat.com> (raw)
In-Reply-To: <20020104190350.K9599@dr-evil.shagadelic.org>

Jason R Thorpe wrote:
> 
> On Sat, Jan 05, 2002 at 01:39:52AM +0100, Mark Kettenis wrote:
> 
>  > Is there any chance that I can convince you to make NetBSD use
>  > i386bsd-nat.c instead of i386nbsd-nat.c?  NetBSD is close enough to
>  > FreeBSD and OpenBSD to be able to use the same basic functionality on
>  > all of them.
> 
> Alright, I did this; it wasn't quite as nasty as I thought it'd be.
> 
> OK to commit?
> 
>         [ for gdb/ChangeLog ]
> 2002-01-04  Jason Thorpe  <thorpej@wasabisystems.com>
> 
>         * acconfig.h (HAVE_PT_GETXMMREGS): New.
>         * config.in: Regenerate.
>         * configure.in: Update copyright years.
>         Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>.
>         * configure: Regenerate.
>         * i386bsd-nat.c: Update copyright years.
>         (fill_gregset): Use regcache_collect.

Are you concerned about threads?  regcache_collect is not thread-aware.


>         (fetch_inferior_registers): Only fetch integer registers
>         if requested to do so.  Add support for XMM registers
>         using PT_GETXMMREGS.
>         (store_inferior_registers): Only store integer registers
>         if requested to do so.  Add support for XMM registers
>         using PT_SETXMMREGS.
>         * i386nbsd-nat.c (fetch_inferior_registers): Remove.
>         (store_inferior_registers): Remove.
>         (fetch_core_registers): Use supply_gregset and i387_supply_fsave.
>         (fetch_elfcore_registers): New function.
>         (i386nbsd_elfcore_fns): New.
>         (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns.
>         * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and
>         i386bsd-nat.o.
>         * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
>         * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o.
>         * config/i386/nbsdelf.mt (TDEPFILES): Likewise.
>         * config/i386/tm-nbsd.h: Update copyright years.
>         (HAVE_SSE_REGS): Define.
>         (IN_SIGTRAMP): Define as i386bsd_in_sigtramp.
>         (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start.
>         (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end.
>         (SIGCONTEXT_PC_OFFSET): Remove.
>         (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.
> 
> --
>         -- Jason R. Thorpe <thorpej@wasabisystems.com>
> 
>   ------------------------------------------------------------------------
>                     Name: JRT-patch3
>    JRT-patch3       Type: Plain Text (text/plain)
>              Description: patch3


  reply	other threads:[~2002-01-05  3:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-04 16:08 Jason R Thorpe
2002-01-04 16:41 ` Mark Kettenis
2002-01-04 17:05   ` Jason R Thorpe
2002-01-04 19:03   ` Jason R Thorpe
2002-01-04 19:28     ` Michael Snyder [this message]
2002-01-04 19:41       ` Andrew Cagney
2002-01-05 12:59         ` Michael Snyder
2002-01-05  6:07     ` Mark Kettenis

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=3C3671C2.253B6799@redhat.com \
    --to=msnyder@redhat.com \
    --cc=gdb-patches@sourceware.cygnus.com \
    --cc=kettenis@science.uva.nl \
    --cc=thorpej@wasabisystems.com \
    /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