summaryrefslogtreecommitdiffstats
path: root/gdb/config/a29k
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1999-04-26 18:34:20 +0000
committerStan Shebs <shebs@codesourcery.com>1999-04-26 18:34:20 +0000
commit7a292a7adf506b866905b06b3024c0fd411c4583 (patch)
tree5b208bb48269b8a82d5c3a5f19c87b45a62a22f4 /gdb/config/a29k
parent1996fae84682e8ddd146215dd2959ad1ec924c09 (diff)
downloadppe42-binutils-7a292a7adf506b866905b06b3024c0fd411c4583.tar.gz
ppe42-binutils-7a292a7adf506b866905b06b3024c0fd411c4583.zip
import gdb-19990422 snapshot
Diffstat (limited to 'gdb/config/a29k')
-rw-r--r--gdb/config/a29k/tm-a29k.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/gdb/config/a29k/tm-a29k.h b/gdb/config/a29k/tm-a29k.h
index 4892ec52cb..0936e837be 100644
--- a/gdb/config/a29k/tm-a29k.h
+++ b/gdb/config/a29k/tm-a29k.h
@@ -429,7 +429,7 @@ long read_register_stack_integer ();
/* Because INIT_FRAME_PC gets passed fromleaf, that's where we init
not only ->pc and ->frame, but all the extra stuff, when called from
- get_prev_frame_info, that is. */
+ get_prev_frame, that is. */
#define INIT_EXTRA_FRAME_INFO(fromleaf, fci) init_extra_frame_info(fci)
void init_extra_frame_info ();
@@ -506,7 +506,13 @@ extern CORE_ADDR frame_locals_address ();
/* Provide our own get_saved_register. HAVE_REGISTER_WINDOWS is insufficient
because registers get renumbered on the a29k without getting saved. */
-#define GET_SAVED_REGISTER
+#ifdef __STDC__
+enum lval_type;
+struct frame_info;
+#endif
+void a29k_get_saved_register PARAMS ((char *raw_buffer, int *optimized, CORE_ADDR *addrp, struct frame_info *frame, int regnum, enum lval_type *lvalp));
+#define GET_SAVED_REGISTER(raw_buffer, optimized, addrp, frame, regnum, lval) \
+ a29k_get_saved_register (raw_buffer, optimized, addrp, frame, regnum, lval)
/* Call function stuff. */
OpenPOWER on IntegriCloud