aboutsummaryrefslogtreecommitdiff
path: root/gdb/inferior.h
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-05-13 12:27:30 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-05-13 12:27:30 +0000
commitfb4443d8bc8dd6d4b9c9a8af474da79a65deb0be (patch)
treefddb3e6ba581319a191f78ed9587f73cb3fc35dd /gdb/inferior.h
parentadc44effcb2e47b4410fa96c6e382d7a4695911e (diff)
downloadfsf-binutils-gdb-fb4443d8bc8dd6d4b9c9a8af474da79a65deb0be.zip
fsf-binutils-gdb-fb4443d8bc8dd6d4b9c9a8af474da79a65deb0be.tar.gz
fsf-binutils-gdb-fb4443d8bc8dd6d4b9c9a8af474da79a65deb0be.tar.bz2
* inferior.h (read_sp): Remove prototype.
* regcache.c (read_sp): Remove. * gcore.c (derive_stack_segment): Use get_frame_sp instead of read_sp. * infcall.c (call_function_by_hand): Likewise. * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use regcache instead of calling read_sp. * rs6000-tdep.c (rs6000_push_dummy_call): Likewise.
Diffstat (limited to 'gdb/inferior.h')
-rw-r--r--gdb/inferior.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h
index 5efbf1e..6e1c42c 100644
--- a/gdb/inferior.h
+++ b/gdb/inferior.h
@@ -174,8 +174,6 @@ extern void write_pc_pid (CORE_ADDR, ptid_t);
extern void generic_target_write_pc (CORE_ADDR, ptid_t);
-extern CORE_ADDR read_sp (void);
-
extern CORE_ADDR unsigned_pointer_to_address (struct type *type,
const gdb_byte *buf);
extern void unsigned_address_to_pointer (struct type *type, gdb_byte *buf,