diff options
author | Roland McGrath <roland@gnu.org> | 2004-02-24 01:00:30 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2004-02-24 01:00:30 +0000 |
commit | 544f7c33d8f876c4f6af13f511fd3f6a7eb352a5 (patch) | |
tree | 60a1bb9b1837aa6df4d0ad58e899f5bf849c7c4e /gdb | |
parent | b60a5e6e0c74724a62b726007bb0747868a9b891 (diff) | |
download | gdb-544f7c33d8f876c4f6af13f511fd3f6a7eb352a5.tar.gz |
2004-02-23 Roland McGrath <roland@redhat.com>
* auxv.c (info_auxv_command): Fix typos in error messages.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/auxv.c | 5 |
1 files changed, 2 insertions, 3 deletions
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."); } } |