This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH/RFA] Move i387 register supply/fill to i387-tdep.c


This is a re-submit of an earlier patch, which takes into account
Mark's recent changes to i387-nat.c.

Basically, this moves all of the register supply/fill stuff for i387
from i387-nat.c to i387-tdep.c, to facilitate cross-debugging of core
files.  This renders i387-nat.c empty, and so it is removed in this
patch.

OK to commit?

        * Makefile.in (ALLDEPFILES): Remove i387-nat.c.
        (i387-nat.o): Delete rule.
        * i387-nat.c: Delete file, moving contents to...
        * i387-tdep.c: ...here.
        * i387-nat.h: Rename...
        * i387-tdep.h: ...to this.
        * go32-nat.c: Include i387-tdep.h instead of i387-nat.h.
        * i386-linux-nat.c: Likewise.
        * i386bsd-nat.c: Likewise.
        * i386gnu-nat.c: Likewise. 
        * i386nbsd-nat.c: Likewise.
        * i386v4-nat.c: Likewise.
        * x86-64-linux-nat.c: Likewise.
        * config/i386/fbsd.mh (NATDEPFILES): Remove i387-nat.o.
        * config/i386/go32.mh (NATDEPFILES): Likewise.
        * config/i386/i386gnu.mh (NATDEPFILES): Likewise.
        * config/i386/i386sol2.mh (NATDEPFILES): Likewise.
        * config/i386/i386v42mp.mh (NATDEPFILES): Likewise.
        * config/i386/linux.mh (NATDEPFILES): Likewise.
        * config/i386/nbsd.mh (NATDEPFILES): Likewise.
        * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
        * config/i386/obsd.mh (NATDEPFILES): Likewise.
        * config/i386/x86-64linux.mh (NATDEPFILES): Likewise.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>

Attachment: i387-patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]