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]

Re: inconsistent sigtramp code in mips target


The logical patch would be to move the special cases up front,
but I have no way to test this out (no access to a MIPS UNIX
platform).

On the other hand this isn't purely academic.  I came across this
because I need to define a custom sigtramp frame for our own
MIPS embedded platform.  It was baffling for a while that my
modification to the SP_REGNUM override had no effect.

Rather than the MIPS, check the x86 family for how to add a custom sigtramp handler (ex, i386_sigtramp_frame_sniffer). Hopefully the new mechanism is less baffling - the current MIPS code is not a good reference.


Andrew



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