This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: [RFA] SH prologue recognition update
- To: Chris Faylor <cgf at cygnus dot com>
- Subject: Re: [RFA] SH prologue recognition update
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Fri, 21 Apr 2000 16:00:31 +1000
- CC: gdb-patches at sourceware dot cygnus dot com
- Organization: Cygnus Solutions
- References: <20000420231327.A4674@cygnus.com>
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