aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-03-01 18:56:33 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-03-01 18:56:33 +0000
commitc84539ee9c132c69c51883fa5ab2ba6ab6003aef (patch)
tree27f1a6b37b90846af2b684672c38d73279448873 /gdb/solib.c
parente3d6ec4a0d275ca63d52247b7efc16ccc392c9aa (diff)
downloadgdb-c84539ee9c132c69c51883fa5ab2ba6ab6003aef.zip
gdb-c84539ee9c132c69c51883fa5ab2ba6ab6003aef.tar.gz
gdb-c84539ee9c132c69c51883fa5ab2ba6ab6003aef.tar.bz2
* valprint.c (val_print_string): If errcode is set, always print
an error, regardless of force_ellipsis. In the non-EIO case, just print the error message rather than calling error(). Don't access *(bufptr-1) if bufptr points to the start of the buffer. When looking for '\0', don't increment bufptr and addr if bufptr started out already at limit. If an error happens on fetching the first character, don't print the string.
Diffstat (limited to 'gdb/solib.c')
0 files changed, 0 insertions, 0 deletions