From: Corinna Vinschen Date: Mon, 22 Jan 2007 10:08:33 +0000 (+0000) Subject: * xstormy16-tdep.c (xstormy16_skip_prologue): Separate code from a X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=57fdbbbe8f1c649b99800c899636fa2f07f2221f;p=deliverable%2Fbinutils-gdb.git * xstormy16-tdep.c (xstormy16_skip_prologue): Separate code from a declaration. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6fcaa08f9a..df707a97cb 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2007-01-22 Masaki Muranaka + + * xstormy16-tdep.c (xstormy16_skip_prologue): Separate code from a + declaration. + 2007-01-11 Andrew Cagney Daniel Jacobowitz Jan Kratochvil diff --git a/gdb/xstormy16-tdep.c b/gdb/xstormy16-tdep.c index bab6ec0db9..0c48413637 100644 --- a/gdb/xstormy16-tdep.c +++ b/gdb/xstormy16-tdep.c @@ -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;