aboutsummaryrefslogtreecommitdiff
path: root/gdb/utils.h
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2013-10-11 08:20:10 +0000
committerJoel Brobecker <brobecker@gnat.com>2013-10-11 08:20:10 +0000
commit0cf4063e29439cdf8693d2357ead6659c6defd74 (patch)
tree7918a5de515b9bf85e8c74f3e674c66f00d64b7c /gdb/utils.h
parentbb66bd5176cc5c47d44fdc693c0d6219425af5c5 (diff)
downloadbinutils-0cf4063e29439cdf8693d2357ead6659c6defd74.zip
binutils-0cf4063e29439cdf8693d2357ead6659c6defd74.tar.gz
binutils-0cf4063e29439cdf8693d2357ead6659c6defd74.tar.bz2
new function perror_string extracted out of throw_perror_with_name.
The main purpose of this patch is to extract the part of throw_perror_with_name that computes a string providing the system error message combined with a prefix string. This will become useful later on to provide a routine which prints a warning using that perror_string, rather than throwing an error. gdb/ChangeLog: * utils.c (perror_string): New function, extracted out of throw_perror_with_name. (throw_perror_with_name): Rework to use perror_string.
Diffstat (limited to 'gdb/utils.h')
0 files changed, 0 insertions, 0 deletions