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]

[PATCH]: tm-i386.h/FRAME_SAVED_PC (unsigned)


And this?  Reasonable?

***************
*** 341,347 ****
  #define FRAME_SAVED_PC(FRAME) \
    (((FRAME)->signal_handler_caller \
      ? sigtramp_saved_pc (FRAME) \
!     : read_memory_integer ((FRAME)->frame + 4, 4)) \
     )

  extern CORE_ADDR sigtramp_saved_pc PARAMS ((struct frame_info *));
--- 341,347 ----
  #define FRAME_SAVED_PC(FRAME) \
    (((FRAME)->signal_handler_caller \
      ? sigtramp_saved_pc (FRAME) \
!     : read_memory_unsigned_integer ((FRAME)->frame + 4, 4)) \
     )

  extern CORE_ADDR sigtramp_saved_pc PARAMS ((struct frame_info *));

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