Continuing work to convert the hppa targets to multiarch partial.
authorJoel Brobecker <brobecker@gnat.com>
Thu, 26 Dec 2002 09:36:43 +0000 (09:36 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Thu, 26 Dec 2002 09:36:43 +0000 (09:36 +0000)
commit60e1ff2716f2ef348d75b0d9b1dc2cb9206469f8
tree3507c5b1e2854f4ff60c79b0a4b06fa079c8a2ed
parenta7df09ae3cdf5e7b7318795a42cc491c3f791a65
   Continuing work to convert the hppa targets to multiarch partial.

       * hppa-tdep.c: (hppa_register_raw_size): New function replacing
       the body of macro REGISTER_RAW_SIZE.
       * hppa-hpux-tdep.c: Add new functions replacing macro bodies from
       config/pa/tm-hppah.h. These functions will be used to initialize
       the gdbarch structure.
       (hppa_hpux_pc_in_sigtramp): New function.
       (hppa_hpux_frame_saved_pc_in_sigtramp): New function.
       (hppa_hpux_frame_base_before_sigtramp): New function.
       (hppa_hpux_frame_find_saved_regs_in_sigtramp): New function.
       Add gdbcore.h #include.
       * config/pa/tm-hppa.h (REGISTER_RAW_SIZE): Change the definition
       of this gdbarch-eligible macro to a call to the new associated
       function.
       * config/pa/tm-hppah.h (PC_IN_SIGTRAMP): Likewise.
       (FRAME_SAVED_PC_IN_SIGTRAMP): Change the definition of this macro
       into a call to the new associated function.
       (FRAME_BASE_BEFORE_SIGTRAMP): Likewise.
       (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Likewise.
       * Makefile.in (hppa-hpux-tdep.o): Add dependency on gdbcore.h.
gdb/ChangeLog
gdb/Makefile.in
gdb/config/pa/tm-hppa.h
gdb/config/pa/tm-hppah.h
gdb/hppa-hpux-tdep.c
gdb/hppa-tdep.c