This is the mail archive of the gdb-patches@sourceware.cygnus.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]

Re: [RFA] SH prologue recognition update


Chris Faylor wrote:
> 
> The following changes were necessary to get sh-tdep.c working with the
> Windows CE SH target.  They seem to accomodate the prologue found in
> more recent version of gdb.  I've also added an additional defensive
> check to sh_find_callers_reg.
> 
> cgf

Chris,

Is there a need for the (dreaded?) heuristic_fence_post in this code? 
What is the chance of GDB just plowing through memory looking for the
end of the prologue?

The other question is, does WinCE/SH GCC output the same prologe as for
other SH targets such as sh-coff(?) and sh-elf?  Playing around with the
prologue analysis code is hairy so I'm trying to figure out how much
testing is practical.

	Andrew

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