*** empty log message ***
[deliverable/binutils-gdb.git] / gdb / h8300-tdep.c
index 909459824d98e56553aaf81dbf5c974921617f26..93b9bbb78c188ada7d19298a322872c1e89b6a02 100644 (file)
@@ -1,5 +1,7 @@
 /* Target-machine dependent code for Hitachi H8/300, for GDB.
-   Copyright 1988, 1990, 1991, 2001 Free Software Foundation, Inc.
+
+   Copyright 1988, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998,
+   1999, 2000, 2001, 2002 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -70,8 +72,6 @@ char **h8300_register_names = original_register_names;
 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)
 {
@@ -433,7 +433,7 @@ h8300_frame_saved_pc (struct frame_info *frame)
 }
 
 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... */
@@ -451,7 +451,7 @@ frame_locals_address (struct frame_info *fi)
    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... */
@@ -610,7 +610,7 @@ h8300_push_return_address (CORE_ADDR pc, CORE_ADDR sp)
   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. */
@@ -827,7 +827,7 @@ _initialize_h8300m (void)
 
 
 void
-print_register_hook (int regno)
+h8300_print_register_hook (int regno)
 {
   if (regno == 8)
     {
@@ -835,7 +835,7 @@ print_register_hook (int regno)
       int C, Z, N, V;
       unsigned char b[4];
       unsigned char l;
-      read_relative_register_raw_bytes (regno, b);
+      frame_register_read (selected_frame, regno, b);
       l = b[REGISTER_VIRTUAL_SIZE (8) - 1];
       printf_unfiltered ("\t");
       printf_unfiltered ("I-%d - ", (l & 0x80) != 0);
This page took 0.026215 seconds and 4 git commands to generate.