* xstormy16-tdep.c (xstormy16_skip_prologue): Clear/initialize the
authorKevin Buettner <kevinb@redhat.com>
Wed, 15 Dec 2004 22:45:39 +0000 (22:45 +0000)
committerKevin Buettner <kevinb@redhat.com>
Wed, 15 Dec 2004 22:45:39 +0000 (22:45 +0000)
frame cache.

gdb/ChangeLog
gdb/xstormy16-tdep.c

index fd7e2fdcb4252a0771df4ad0accc8f4f23266587..9c50c11e823fd5315cfa04f91b25318116aded3d 100644 (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.
index 3cd64d7be54351ca91fba3d977c32cdf14091706..a93f544ec4bee5f8b3318d5fe15d2ed1c2ff593f 100644 (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);