Put mi and tui comments for free -> xfree change in proper ChangeLogs.
[deliverable/binutils-gdb.git] / gdb / arch-utils.c
index d58eb4571883e233bb374d5bbcba012b7b6b3686..7a806287cef73f4c1fac2cc0f82910f1b37fa3f6 100644 (file)
@@ -233,6 +233,12 @@ default_convert_from_func_ptr_addr (CORE_ADDR addr)
   return addr;
 }
 
+int
+no_op_reg_to_regnum (int reg)
+{
+  return reg;
+}
+
 /* Functions to manipulate the endianness of the target.  */
 
 #ifdef TARGET_BYTE_ORDER_SELECTABLE
@@ -441,7 +447,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) */
@@ -500,7 +506,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
@@ -528,7 +534,7 @@ info_architecture (char *args, int from_tty)
        {
          printf_filtered (" %s", *arch);
        }
-      free (arches);
+      xfree (arches);
     }
   else
     {
@@ -560,7 +566,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.023523 seconds and 4 git commands to generate.