aboutsummaryrefslogtreecommitdiff
path: root/gdb/auxv.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-02-24 01:00:30 +0000
committerRoland McGrath <roland@gnu.org>2004-02-24 01:00:30 +0000
commit3f5becf80e8bfe75a7382ebf822d99a32e8ec47d (patch)
tree65876cd9a2a72a6e16e914e1573b5715e2ffc976 /gdb/auxv.c
parent41824bac55a231c6cf580131351052fa94cf95de (diff)
downloadgdb-3f5becf80e8bfe75a7382ebf822d99a32e8ec47d.zip
gdb-3f5becf80e8bfe75a7382ebf822d99a32e8ec47d.tar.gz
gdb-3f5becf80e8bfe75a7382ebf822d99a32e8ec47d.tar.bz2
2004-02-23 Roland McGrath <roland@redhat.com>
* auxv.c (info_auxv_command): Fix typos in error messages.
Diffstat (limited to 'gdb/auxv.c')
-rw-r--r--gdb/auxv.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/auxv.c b/gdb/auxv.c
index c28014c..a2516b6 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, &current_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.");
}
}