From: Roland McGrath Date: Tue, 24 Feb 2004 01:00:30 +0000 (+0000) Subject: 2004-02-23 Roland McGrath X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3f5becf80e8bfe75a7382ebf822d99a32e8ec47d;p=binutils-gdb.git 2004-02-23 Roland McGrath * auxv.c (info_auxv_command): Fix typos in error messages. --- diff --git a/gdb/auxv.c b/gdb/auxv.c index c28014c4a9e..a2516b68528 100644 --- a/gdb/auxv.c +++ b/gdb/auxv.c @@ -276,16 +276,15 @@ fprint_target_auxv (struct ui_file *file, struct target_ops *ops) static void info_auxv_command (char *cmd, int from_tty) { - if (! target_has_stack) error ("The program has no auxiliary information now."); else { int ents = fprint_target_auxv (gdb_stdout, ¤t_target); if (ents < 0) - error ("No auxilary vector found, or failed reading it."); + error ("No auxiliary vector found, or failed reading it."); else if (ents == 0) - error ("Auxilary vector is empty."); + error ("Auxiliary vector is empty."); } }