diff options
author | Michael Snyder <msnyder@vmware.com> | 2002-10-23 21:33:07 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2002-10-23 21:33:07 +0000 |
commit | 2625d86c4672d9354fe1887fed190507c3e82119 (patch) | |
tree | 39ac14b54d7652fe9f576022be6f784f4eb60fe1 /gdb/valops.c | |
parent | 6ad4a2cfb3c7a64bff8df4750c03f796b9a431c4 (diff) | |
download | gdb-2625d86c4672d9354fe1887fed190507c3e82119.zip gdb-2625d86c4672d9354fe1887fed190507c3e82119.tar.gz gdb-2625d86c4672d9354fe1887fed190507c3e82119.tar.bz2 |
2002-10-23 Michael Snyder <msnyder@redhat.com>
* printcmd.c (address_info): Restore quotes in output.
* valops.c (value_of_local): Restore quotes in error message.
Diffstat (limited to 'gdb/valops.c')
-rw-r--r-- | gdb/valops.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/valops.c b/gdb/valops.c index b61355f..6fcd824 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -3330,7 +3330,7 @@ value_of_local (const char *name, int complain) if (!func) { if (complain) - error ("no %s in nameless context", name); + error ("no `%s' in nameless context", name); else return 0; } @@ -3340,7 +3340,7 @@ value_of_local (const char *name, int complain) if (i <= 0) { if (complain) - error ("no args, no '%s'", name); + error ("no args, no `%s'", name); else return 0; } @@ -3351,14 +3351,14 @@ value_of_local (const char *name, int complain) if (sym == NULL) { if (complain) - error ("current stack frame does not contain a variable named \"%s\"", name); + error ("current stack frame does not contain a variable named `%s'", name); else return NULL; } ret = read_var_value (sym, selected_frame); if (ret == 0 && complain) - error ("%s argument unreadable", name); + error ("`%s' argument unreadable", name); return ret; } |