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]

[RFA/commit] Add new file hppa-hpux-tdep.c


I am adding a new file, were all the hpux-specific stuff should go.

I am treating this as a semi-RFA, despite the multiarch rule, because:
  - Despite Andrew's recommendation to name the files pa-* to follow
    the name of the directory where the config files are stored, I
    kept hppa because it's what is used in the configuration triplet.
    If I had to change anything, I'd prefer to change the name of the
    directory...
  - There is also this fnchange.lst file, which I don't understand
    completely. The documentation says I should add a new line for
    each file that does not respect the 8.3 format. But it does not
    say what should be there. I thought it should be @V.../longname
    followed by @V.../8+3name. But I saw many exceptions, and many
    entries missing. So I'm not sure what I should do for this patch.
    Eli?

I am not sure if I'll be able to put all the code for pa & pa64 hpux
in the same file. At the present time, I know I won't, because it
would not compile. But I think this can be achieved by doing a bit
or rewriting (don't know how yet, though). So I'm simply adding this
one tdep file for now.

2002-12-12  Joel Brobecker  <brobecker@gnat.com>

        * hppa-hpux-tdep.c: New file.
        * hppa-tdep.c (hppa_gdbarch_init): call the registered osabi-
        specific initialization routines.
        * Makefile.in (ALLDEPFILES): Add hppa-hpux-tdep.c.
        (hppa-hpux-tdep.o): Add rule.
        * config/pa/hppahpux.mt (TDEPFILES): Add hppa-hpux-tdep.o.
        * config/pa/hppa64.mt (TDEPFILES): Likewise.

Comments are more than welcome. I will commit this on monday if I
receive no objections.

-- 
Joel

(BTW: I haven't been doing much work on this for a while, because I am
currently traveling, but it should be better by the end of next week,
will stay put for at least 6 weeks :).

Attachment: hppa-hpux-tdep.c
Description: Text document

Attachment: hppa-hpux-tdep.diff
Description: Text document


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