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] Detect osabi in hppa gdbarch init


This is part of the multi-arching conversion of the hppa targets.
It is depedent on 

    http://sources.redhat.com/ml/gdb-patches/2002-11/msg00692.html

(which adds the osabi enums, and the handling of HPUX ELF objfiles
in the elf generic osabi sniffer)

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

	* hppa-tdep.c: Add #include "osabi.h" (for hppa_gdbarch_init).
	(hppa_gdbarch_init): Detect osabi from objfile. Will be needed
	later to set the proper gdbarch methods depending on the osabi.
        * Makefile.in (hppa-tdep.o): Add dependency on osabi.h.

Tested on hppa2.0w-hp-hpux11.00.

I will apply this patch per the multi-arch rule as soon as the patch
above gets in. This gives us a few days to send objections, if you have
any.

Thanks,
-- 
Joel

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


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