]> Git Repo - binutils.git/blobdiff - gdb/cli/cli-utils.c
Unify gdb printf functions
[binutils.git] / gdb / cli / cli-utils.c
index d612b155e11c476afb92ebc971b28f4e6a10ef6d..3d9311557a874912aa69947ff63e52c5ed832d8b 100644 (file)
@@ -100,7 +100,7 @@ get_number_trailer (const char **pp, int trailer)
            retval = value_as_long (val);
          else
            {
-             printf_filtered (_("History value must have integer type.\n"));
+             gdb_printf (_("History value must have integer type.\n"));
              retval = 0;
            }
        }
@@ -122,8 +122,8 @@ get_number_trailer (const char **pp, int trailer)
            retval = (int) longest_val;
          else
            {
-             printf_filtered (_("Convenience variable must "
-                                "have integer value.\n"));
+             gdb_printf (_("Convenience variable must "
+                           "have integer value.\n"));
              retval = 0;
            }
        }
This page took 0.02643 seconds and 4 git commands to generate.