diff options
author | Per Bothner <per@bothner.com> | 1994-01-23 20:42:00 +0000 |
---|---|---|
committer | Per Bothner <per@bothner.com> | 1994-01-23 20:42:00 +0000 |
commit | 96b6b765fc847223314b35ba29b4941cdce49770 (patch) | |
tree | 772b1e71f17d49da40fbf385cea47b8a8c527665 /gdb/ch-lang.c | |
parent | 5fd519935375244703d86b9ceaa71a041afb60ff (diff) | |
download | gdb-96b6b765fc847223314b35ba29b4941cdce49770.zip gdb-96b6b765fc847223314b35ba29b4941cdce49770.tar.gz gdb-96b6b765fc847223314b35ba29b4941cdce49770.tar.bz2 |
* ch-exp.y (match_string_literal): Allow a zero-length string.
* ch-lang.c (chill_printstr): Don't print zero-length string funny.
Diffstat (limited to 'gdb/ch-lang.c')
-rw-r--r-- | gdb/ch-lang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ch-lang.c b/gdb/ch-lang.c index 32ab878..3200982 100644 --- a/gdb/ch-lang.c +++ b/gdb/ch-lang.c @@ -95,7 +95,7 @@ chill_printstr (stream, string, length, force_ellipses) if (length == 0) { - chill_printchar ('\0', stream); + fputs_filtered ("\"\"", stream); return; } |