projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Skip gdb.base/branch-to-self.exp if gdb,nosignals exists
[deliverable/binutils-gdb.git]
/
gdb
/
score-tdep.c
diff --git
a/gdb/score-tdep.c
b/gdb/score-tdep.c
index 09df712d0905fc3a1a22a0581d2dc24337834a2a..9b7008cb3efe9ca5fd9b24867efe52455d40b934 100644
(file)
--- a/
gdb/score-tdep.c
+++ b/
gdb/score-tdep.c
@@
-1,7
+1,7
@@
/* Target-dependent code for the S+core architecture, for GDB,
the GNU Debugger.
/* Target-dependent code for the S+core architecture, for GDB,
the GNU Debugger.
- Copyright (C) 2006-201
5
Free Software Foundation, Inc.
+ Copyright (C) 2006-201
6
Free Software Foundation, Inc.
Contributed by Qinwei (qinwei@sunnorth.com.cn)
Contributed by Ching-Peng Lin (cplin@sunplus.com)
Contributed by Qinwei (qinwei@sunnorth.com.cn)
Contributed by Ching-Peng Lin (cplin@sunplus.com)
@@
-1322,7
+1322,7
@@
score_make_prologue_cache (struct frame_info *this_frame, void **this_cache)
struct score_frame_cache *cache;
if ((*this_cache) != NULL)
struct score_frame_cache *cache;
if ((*this_cache) != NULL)
- return (*this_cache);
+ return (
struct score_frame_cache *) (
*this_cache);
cache = FRAME_OBSTACK_ZALLOC (struct score_frame_cache);
(*this_cache) = cache;
cache = FRAME_OBSTACK_ZALLOC (struct score_frame_cache);
(*this_cache) = cache;
@@
-1338,15
+1338,17
@@
score_make_prologue_cache (struct frame_info *this_frame, void **this_cache)
return cache;
if (target_mach == bfd_mach_score3)
return cache;
if (target_mach == bfd_mach_score3)
- score3_analyze_prologue (start_addr, pc, this_frame, *this_cache);
+ score3_analyze_prologue (start_addr, pc, this_frame,
+ (struct score_frame_cache *) *this_cache);
else
else
- score7_analyze_prologue (start_addr, pc, this_frame, *this_cache);
+ score7_analyze_prologue (start_addr, pc, this_frame,
+ (struct score_frame_cache *) *this_cache);
}
/* Save SP. */
trad_frame_set_value (cache->saved_regs, SCORE_SP_REGNUM, cache->base);
}
/* Save SP. */
trad_frame_set_value (cache->saved_regs, SCORE_SP_REGNUM, cache->base);
- return (*this_cache);
+ return (
struct score_frame_cache *) (
*this_cache);
}
static void
}
static void
This page took
0.027315 seconds
and
4
git commands to generate.