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/PATCH] Add new osabis enums for hppa


This is in preparation for the multi-arching conversion,

2002-11-27  J. Brobecker  <brobecker@gnat.com>

        * osabi.h (gdb_osabi): Add two new enum values for HPUX ELF and SOM.
        * osabi.c (gdb_osabi_name): Add strings images for the two new
        enum values.
        (generic_elf_osabi_sniffer): Handle HPUX objfiles.

Tested on hppa2.0w-hp-hpux11.00. The change in generic_elf_osabi_sniffer
has been hand-tested on hppa64-hp-hpux11.00 by putting a breakpoint in
this code and then hand-calling gdbarch_lookup_osabi from the debugger,
to make sure that the osabi returned was indeed HPUX_ELF.

I'll apply this week-end or next monday if I don't receive any objection.

-- 
Joel

Attachment: osabi.diff
Description: Text document


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