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]

[RFC] Take 2: Adding new files for Interix port


Thanks to Mark's very valuable comments, I think I have brought the
interix-specific files to a much better state. I also fixed the ARI
regressions (I had to hack a bit Andrew's script, so some regressions
may have been left behind, but most of them should have been dealt
with).

The nm- and xm- files contains macros that you have never seen so far.
They are part of some changes that were made in common parts of the GDB
source. They are probably temporary, all the more so as I understand
that we want to get rid of these files in the long run anyway.

One example of such macro is COFF_IMAGE_WITH_PE, which is used mostly
in coffread to handle the little differences in the object format.
There is probably a better way than using a macro, something like the
procfs_ops vector, or the arch vector. I will take care of this macro
at the same time I take of the changes in coffread.c.

Same for macros like NONZERO_LINK_BASE, or NAME_OF_MALLOC.

I am hoping that we are getting close to a state where I can check these
files in, and work on the configury parts. Here is the ChangeLog:

2002-08-15  Joel Brobecker  <brobecker@gnat.com>

        New interix-specific files:
        * config/i386/nm-interix.h: New file.
        * config/i386/xm-interix.h: New file.
        * config/i386/interix.mh: New file.
        * config/i386/interix.mt: New file.
        * i386-interix-nat.c: New file.
        * i386-interix-tdep.c: New file.

Ok to apply?

Thanks,
-- 
Joel

Attachment: nm-interix.h
Description: nm-interix.h

Attachment: xm-i386interix.h
Description: xm-i386interix.h

Attachment: interix.mh
Description: interix.mh

Attachment: interix.mt
Description: interix.mt

Attachment: i386-interix-nat.c
Description: i386-interix-nat.c

Attachment: i386-interix-tdep.c
Description: i386-interix-tdep.c


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