#include "gdbcmd.h"
#include "gdbtypes.h"
#include "dis-asm.h"
+#include "gdbcore.h"
+
/* Return the saved PC from this frame.
}
CORE_ADDR
-addr_bits_remove (x)
- CORE_ADDR x;
+z8k_addr_bits_remove (addr)
+ CORE_ADDR addr;
{
- return x & PTR_MASK;
+ return (addr & PTR_MASK);
}
int
return 0;
}
+void
init_frame_pc ()
{
abort ();
int
saved_pc_after_call ()
{
- return addr_bits_remove
+ return ADDR_BITS_REMOVE
(read_memory_integer (read_register (SP_REGNUM), PTR_SIZE));
}
+void
extract_return_value (type, regbuf, valbuf)
struct type *type;
char *regbuf;