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: [rfa] Add some flags to tramp frame unwinder


Randolph Chung wrote:
I'd like to use the generic tramp frame code for pa targets;
unfortunately hpux decided that the signal trampoline function should
have a regular function name, so we cannot use the generic infrastructure (it considers code which is inside a function to be not a
trampoline).


I added some flags to the tramp_frame structure to make those checks
optional. Really, I only need the "ok_inside_function" flag, but for
completeness I added "ok_inside_section" as well.

Instead of this, delete the test and in its place add a comment explaining what was there. I just hit another similar case - signal trampolines on altstacks - where there's either/or a valid symbol or segment.


Andrew


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