diff options
author | Kevin Buettner <kevinb@redhat.com> | 2004-12-15 22:45:39 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2004-12-15 22:45:39 +0000 |
commit | 28fe5f6afda0c580f01480437c50249eed059be4 (patch) | |
tree | 3bfbc619a1a94898ea5b3b9ea9386b677d11464c /gdb/xstormy16-tdep.c | |
parent | f10b16d41ffcdab3f103f57035c3cf958f1d4022 (diff) | |
download | gdb-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/xstormy16-tdep.c')
-rw-r--r-- | gdb/xstormy16-tdep.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |