* xstormy16-tdep.c (xstormy16_skip_prologue): Separate code from a

declaration.
This commit is contained in:
Corinna Vinschen 2007-01-22 10:08:33 +00:00
parent 489038311c
commit 57fdbbbe8f
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2007-01-22 Masaki Muranaka <monaka@monami-software.com>
* xstormy16-tdep.c (xstormy16_skip_prologue): Separate code from a
declaration.
2007-01-11 Andrew Cagney <cagney@redhat.com>
Daniel Jacobowitz <dan@codesourcery.com>
Jan Kratochvil <jan.kratochvil@redhat.com>

View File

@ -416,12 +416,12 @@ xstormy16_skip_prologue (CORE_ADDR pc)
struct symtab_and_line sal;
struct symbol *sym;
struct xstormy16_frame_cache cache;
CORE_ADDR plg_end;
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);
plg_end = xstormy16_analyze_prologue (func_addr, func_end, &cache, NULL);
if (!cache.uses_fp)
return plg_end;