summaryrefslogtreecommitdiff
path: root/gdb/regcache.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-08-11 19:09:55 +0000
committerAndrew Cagney <cagney@redhat.com>2000-08-11 19:09:55 +0000
commit1c47930a2497ecfe77d60150c2aa4fa4981e570c (patch)
tree316c0682d69da0c5845b3c1a7a97230e0b627d67 /gdb/regcache.c
parent18f619cd326d225aa9111da08a1edd0611cb806e (diff)
downloadgdb-1c47930a2497ecfe77d60150c2aa4fa4981e570c.tar.gz
Restore GET_SAVED_REGISTERS
Diffstat (limited to 'gdb/regcache.c')
-rw-r--r--gdb/regcache.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/regcache.c b/gdb/regcache.c
index 337f57a7a53..fec8b3dec8c 100644
--- a/gdb/regcache.c
+++ b/gdb/regcache.c
@@ -200,6 +200,11 @@ 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,