aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2004-12-15 22:45:39 +0000
committerKevin Buettner <kevinb@redhat.com>2004-12-15 22:45:39 +0000
commit28fe5f6afda0c580f01480437c50249eed059be4 (patch)
tree3bfbc619a1a94898ea5b3b9ea9386b677d11464c /gdb
parentf10b16d41ffcdab3f103f57035c3cf958f1d4022 (diff)
downloadgdb-28fe5f6afda0c580f01480437c50249eed059be4.zip
gdb-28fe5f6afda0c580f01480437c50249eed059be4.tar.gz
gdb-28fe5f6afda0c580f01480437c50249eed059be4.tar.bz2
* xstormy16-tdep.c (xstormy16_skip_prologue): Clear/initialize the
frame cache.
Diffstat (limited to 'gdb')
-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);