* lib/gdb.exp (get_hexadecimal_valueof): New procedure.
[deliverable/binutils-gdb.git] / gdb / mn10300-tdep.c
index 37d0b84b645c2ae134a5ae7614bd0d13ca9a1f74..7d8c97b6a3a85c73dd1c67f0682bfd4d981bdb22 100644 (file)
@@ -1,7 +1,7 @@
 /* Target-dependent code for the Matsushita MN10300 for GDB, the GNU debugger.
 
    Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
-   2007, 2008 Free Software Foundation, Inc.
+   2007, 2008, 2009 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -265,7 +265,7 @@ am33_2_register_name (struct gdbarch *gdbarch, int reg)
 static struct type *
 mn10300_register_type (struct gdbarch *gdbarch, int reg)
 {
-  return builtin_type_int;
+  return builtin_type (gdbarch)->builtin_int;
 }
 
 static CORE_ADDR
@@ -324,11 +324,11 @@ set_reg_offsets (struct frame_info *fi,
 
   if (frame_in_fp)
     {
-      base = frame_unwind_register_unsigned (fi, E_A3_REGNUM);
+      base = get_frame_register_unsigned (fi, E_A3_REGNUM);
     }
   else
     {
-      base = frame_unwind_register_unsigned (fi, E_SP_REGNUM)
+      base = get_frame_register_unsigned (fi, E_SP_REGNUM)
               + stack_extra_size;
     }
 
This page took 0.024552 seconds and 4 git commands to generate.