aboutsummaryrefslogtreecommitdiff
path: root/gdb/regcache.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-08-11 03:19:22 +0000
committerAndrew Cagney <cagney@redhat.com>2000-08-11 03:19:22 +0000
commitbe8dfb8711587eef1bb45919af473c4e833bfb57 (patch)
treee1b24295a055abe4b70cf9d32b99ac3de6bada8d /gdb/regcache.c
parent66b43ecb0f97cb826fa1595098a8fb0e7dc8a7c9 (diff)
downloadgdb-be8dfb8711587eef1bb45919af473c4e833bfb57.zip
gdb-be8dfb8711587eef1bb45919af473c4e833bfb57.tar.gz
gdb-be8dfb8711587eef1bb45919af473c4e833bfb57.tar.bz2
* regcache.c (TARGET_WRITE_PC, TARGET_READ_PC, TARGET_READ_FP,
TARGET_WRITE_FP, TARGET_READ_SP, TARGET_WRITE_SP): Move initialization from here. * gdbarch.sh: To here. * gdbarch.h, gdbarch.c: Regenerate.
Diffstat (limited to 'gdb/regcache.c')
-rw-r--r--gdb/regcache.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/gdb/regcache.c b/gdb/regcache.c
index f449189..337f57a 100644
--- a/gdb/regcache.c
+++ b/gdb/regcache.c
@@ -200,11 +200,6 @@ default_get_saved_register (char *raw_buffer,
*addrp = addr;
}
-#if !defined (GET_SAVED_REGISTER)
-#define GET_SAVED_REGISTER(raw_buffer, optimized, addrp, frame, regnum, lval) \
- default_get_saved_register(raw_buffer, optimized, addrp, frame, regnum, lval)
-#endif
-
void
get_saved_register (char *raw_buffer,
int *optimized,
@@ -715,10 +710,6 @@ supply_register (int regno, char *val)
eliminate the intermediate read_pc_pid(). The client would call
TARGET_READ_PC directly. (cagney). */
-#ifndef TARGET_READ_PC
-#define TARGET_READ_PC generic_target_read_pc
-#endif
-
CORE_ADDR
generic_target_read_pc (int pid)
{
@@ -755,10 +746,6 @@ read_pc (void)
return read_pc_pid (inferior_pid);
}
-#ifndef TARGET_WRITE_PC
-#define TARGET_WRITE_PC generic_target_write_pc
-#endif
-
void
generic_target_write_pc (CORE_ADDR pc, int pid)
{
@@ -796,10 +783,6 @@ write_pc (CORE_ADDR pc)
/* Cope with strage ways of getting to the stack and frame pointers */
-#ifndef TARGET_READ_SP
-#define TARGET_READ_SP generic_target_read_sp
-#endif
-
CORE_ADDR
generic_target_read_sp (void)
{
@@ -816,10 +799,6 @@ read_sp (void)
return TARGET_READ_SP ();
}
-#ifndef TARGET_WRITE_SP
-#define TARGET_WRITE_SP generic_target_write_sp
-#endif
-
void
generic_target_write_sp (CORE_ADDR val)
{
@@ -839,10 +818,6 @@ write_sp (CORE_ADDR val)
TARGET_WRITE_SP (val);
}
-#ifndef TARGET_READ_FP
-#define TARGET_READ_FP generic_target_read_fp
-#endif
-
CORE_ADDR
generic_target_read_fp (void)
{
@@ -859,10 +834,6 @@ read_fp (void)
return TARGET_READ_FP ();
}
-#ifndef TARGET_WRITE_FP
-#define TARGET_WRITE_FP generic_target_write_fp
-#endif
-
void
generic_target_write_fp (CORE_ADDR val)
{