* xstormy16-tdep.c (xstormy16_skip_prologue): Separate code from a
authorCorinna Vinschen <corinna@vinschen.de>
Mon, 22 Jan 2007 10:08:33 +0000 (10:08 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Mon, 22 Jan 2007 10:08:33 +0000 (10:08 +0000)
declaration.

gdb/ChangeLog
gdb/xstormy16-tdep.c

index 6fcaa08f9acf78dde2e4fc9feb28c40b623b78f1..df707a97cb30ebf5d0707e74507a3d973b3ee5ab 100644 (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>
index bab6ec0db9eca6a3d04788e2b486133d20939f68..0c4841363728edc5d7075e36e5f70ee07a30b554 100644 (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;