aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/xstormy16-tdep.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index fd7e2fd..9c50c11 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/xstormy16-tdep.c b/gdb/xstormy16-tdep.c
index 3cd64d7..a93f544 100644
--- a/gdb/xstormy16-tdep.c
+++ b/gdb/xstormy16-tdep.c
@@ -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);