From: Andrew Cagney Date: Fri, 11 Aug 2000 19:09:55 +0000 (+0000) Subject: Restore GET_SAVED_REGISTERS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f3d219244e0211d01acaec1c0b5d9901a254b69b;p=binutils-gdb.git Restore GET_SAVED_REGISTERS --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3da78bbc976..be8be3f269f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2000-08-11 Andrew Cagney + + * regcache.c (GET_SAVED_REGISTER): Restore definition. Was lost + as part of 2000-08-10 Andrew Cagney . + 2000-08-11 J.T. Conklin * dcache.c (dcache_info): Don't print cache state if last_cache 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,