aboutsummaryrefslogtreecommitdiff
path: root/gdb/xstormy16-tdep.c
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2007-01-22 10:08:33 +0000
committerCorinna Vinschen <corinna@vinschen.de>2007-01-22 10:08:33 +0000
commit57fdbbbe8f1c649b99800c899636fa2f07f2221f (patch)
tree279146dcf710fe5c18ef9d91f15abb03ada3cafd /gdb/xstormy16-tdep.c
parent489038311cebe05fc09ad5e7f914c5d326a22d1b (diff)
downloadgdb-57fdbbbe8f1c649b99800c899636fa2f07f2221f.zip
gdb-57fdbbbe8f1c649b99800c899636fa2f07f2221f.tar.gz
gdb-57fdbbbe8f1c649b99800c899636fa2f07f2221f.tar.bz2
* xstormy16-tdep.c (xstormy16_skip_prologue): Separate code from a
declaration.
Diffstat (limited to 'gdb/xstormy16-tdep.c')
-rw-r--r--gdb/xstormy16-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/xstormy16-tdep.c b/gdb/xstormy16-tdep.c
index bab6ec0..0c48413 100644
--- a/gdb/xstormy16-tdep.c
+++ b/gdb/xstormy16-tdep.c
@@ -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;