projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* inferior.h (read_sp): Remove prototype.
[deliverable/binutils-gdb.git]
/
gdb
/
infcall.c
diff --git
a/gdb/infcall.c
b/gdb/infcall.c
index c4435e5822949c4091a9054bcfa040a27de11443..5eb9ca3f942e10ad52e6ee8725229f65320bad3d 100644
(file)
--- a/
gdb/infcall.c
+++ b/
gdb/infcall.c
@@
-368,7
+368,7
@@
call_function_by_hand (struct value *function, int nargs, struct value **args)
/* Ensure that the initial SP is correctly aligned. */
{
- CORE_ADDR old_sp =
read_sp (
);
+ CORE_ADDR old_sp =
get_frame_sp (get_current_frame ()
);
if (gdbarch_frame_align_p (current_gdbarch))
{
sp = gdbarch_frame_align (current_gdbarch, old_sp);
This page took
0.028603 seconds
and
4
git commands to generate.