* valprint.c (val_print_string): Ignore error if the error
authorJim Kingdon <jkingdon@engr.sgi.com>
Sun, 13 Mar 1994 18:37:27 +0000 (18:37 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Sun, 13 Mar 1994 18:37:27 +0000 (18:37 +0000)
commit79f3d5862914001d44970359a55dd1691714593c
tree3b04653ae71782ee79d15f5adc038f641c21972a
parent8eb795981e48f42178232c27c55ecc8e63bcb7e0
* valprint.c (val_print_string): Ignore error if the error
happened after a terminating '\0'.

* c-valprint.c (c_val_print): Never add 1 to return value from
val_print_string; just return what it returns.
gdb/ChangeLog
gdb/c-valprint.c