/* Target-machine dependent code for Hitachi H8/300, for GDB.
- Copyright (C) 1988, 1990, 1991 Free Software Foundation, Inc.
+ Copyright 1988, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999,
+ 2000, 2001 Free Software Foundation, Inc.
This file is part of GDB.
#include "gdbcore.h"
#include "gdb_string.h"
#include "value.h"
+#include "regcache.h"
extern int h8300hmode, h8300smode;
static CORE_ADDR examine_prologue ();
static void set_machine_hook (char *filename);
-void h8300_frame_find_saved_regs ();
-
CORE_ADDR
h8300_skip_prologue (CORE_ADDR start_pc)
{
}
CORE_ADDR
-frame_locals_address (struct frame_info *fi)
+h8300_frame_locals_address (struct frame_info *fi)
{
if (PC_IN_CALL_DUMMY (fi->pc, fi->frame, fi->frame))
return (CORE_ADDR) 0; /* Not sure what else to do... */
described by FI. Returns 0 if the address is unknown. */
CORE_ADDR
-frame_args_address (struct frame_info *fi)
+h8300_frame_args_address (struct frame_info *fi)
{
if (PC_IN_CALL_DUMMY (fi->pc, fi->frame, fi->frame))
return (CORE_ADDR) 0; /* Not sure what else to do... */
return sp;
}
-/* Function: pop_frame
+/* Function: h8300_pop_frame
Restore the machine to the state it had before the current frame
was created. Usually used either by the "RETURN" command, or by
call_function_by_hand after the dummy_frame is finished. */
void
-print_register_hook (int regno)
+h8300_print_register_hook (int regno)
{
if (regno == 8)
{