(m32r_handle_align): Declare type of fragp.
[deliverable/binutils-gdb.git] / gdb / arch-utils.c
index 02eeaeac7825ec241bca578717159b45922a7bba..00aad2f7e2653d0b85071021c6d64c1a8dc599f1 100644 (file)
@@ -226,6 +226,26 @@ default_register_sim_regno (int num)
   return num;
 }
 
+
+CORE_ADDR
+default_convert_from_func_ptr_addr (CORE_ADDR addr)
+{
+  return addr;
+}
+
+int
+no_op_reg_to_regnum (int reg)
+{
+  return reg;
+}
+
+/* For use by frame_args_address and frame_locals_address.  */
+CORE_ADDR
+default_frame_address (struct frame_info *fi)
+{
+  return fi->frame;
+}
+
 /* Functions to manipulate the endianness of the target.  */
 
 #ifdef TARGET_BYTE_ORDER_SELECTABLE
@@ -434,7 +454,7 @@ set_architecture_from_arch_mach (enum bfd_architecture arch,
   if (wanted != NULL)
     set_arch (wanted, set_arch_manual);
   else
-    internal_error ("gdbarch: hardwired architecture/machine not reconized");
+    internal_error ("gdbarch: hardwired architecture/machine not recognized");
 }
 
 /* Set the architecture from a BFD (deprecated) */
@@ -493,7 +513,7 @@ set_architecture (char *ignore_args, int from_tty, struct cmd_list_element *c)
       if (gdbarch_update_p (info))
        target_architecture_auto = 0;
       else
-       printf_unfiltered ("Architecture `%s' not reconized.\n",
+       printf_unfiltered ("Architecture `%s' not recognized.\n",
                           set_architecture_string);
     }
   else
@@ -521,7 +541,7 @@ info_architecture (char *args, int from_tty)
        {
          printf_filtered (" %s", *arch);
        }
-      free (arches);
+      xfree (arches);
     }
   else
     {
@@ -553,7 +573,7 @@ set_gdbarch_from_file (bfd *abfd)
       memset (&info, 0, sizeof info);
       info.abfd = abfd;
       if (! gdbarch_update_p (info))
-       error ("Architecture of file not reconized.\n");
+       error ("Architecture of file not recognized.\n");
     }
   else
     {
This page took 0.025172 seconds and 4 git commands to generate.