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] |
Hello, I'd like to export the following function in i386-tdep.c for the benefit of the interix port. The function in i386-interix-tdep.c that would use it is: static CORE_ADDR i386_interix_frame_saved_pc (struct frame_info *fi) { [...] /* FIXME: equivalent to: if (i386_frameless_signal_p (fi)), but this function is declared static in i386-tdep.c. */ if (fi->next && fi->next->signal_handler_caller && (frameless_look_for_prologue (fi) || fi->pc == get_pc_function_start (fi->pc))) return read_memory_integer (fi->frame - 12, 4); Would that be ok? 2002-11-05 Joel Brobecker <brobecker@gnat.com> * i386-tdep.c (i386_frameless_signal_p): Make non static for the benefit of the interix target. * i386-tdep.h (i386_frameless_signal_p): Declare. Just in case this is needed, the full implementation of this function is attached after the patch (the one currently checked in is a bit out of date compared to this one - the new one fixes a load of failures, and hopefully I'll be able to check it in soon). Ok to apply? Thanks, -- Joel
Attachment:
i386-tdep.diff
Description: Text document
Attachment:
frame_saved_pc.c
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |