diff options
author | Joel Brobecker <brobecker@gnat.com> | 2013-10-11 08:20:09 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2013-10-11 08:20:09 +0000 |
commit | b3ca8048b0c43163f61daf22c9601ab95262cbe7 (patch) | |
tree | 39904436e6e47d8257eb57e143408d49b2f0fb24 /gdb/ChangeLog | |
parent | 9c3eea2f53a791fe4f7624b68e3503fb2ae0d8b4 (diff) | |
download | gdb-b3ca8048b0c43163f61daf22c9601ab95262cbe7.tar.gz |
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/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 39834473856..37ad575454c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2013-11-11 Joel Brobecker <brobecker@adacore.com> + + * utils.c (perror_string): New function, extracted out of + throw_perror_with_name. + (throw_perror_with_name): Rework to use perror_string. + 2013-10-11 Yao Qi <yao@codesourcery.com> * remote.c (discard_pending_stop_replies_in_queue): Update |