* xstormy16-tdep.c (xstormy16_skip_prologue): Clear/initialize the

frame cache.
This commit is contained in:
Kevin Buettner 2004-12-15 22:45:39 +00:00
parent f10b16d41f
commit 28fe5f6afd
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-12-15 Kevin Buettner <kevinb@redhat.com>
* xstormy16-tdep.c (xstormy16_skip_prologue): Clear/initialize the
frame cache.
2004-12-14 Randolph Chung <tausq@debian.org>
* hppa-tdep.c (hppa_in_function_epilogue_p): New function.

View File

@ -414,6 +414,8 @@ xstormy16_skip_prologue (CORE_ADDR pc)
struct symbol *sym;
struct xstormy16_frame_cache cache;
memset (&cache, 0, sizeof cache);
/* Don't trust line number debug info in frameless functions. */
CORE_ADDR plg_end = xstormy16_analyze_prologue (func_addr, func_end,
&cache, NULL);