This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog utils.c
- From: brobecke at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: Fri, 11 Oct 2013 08:20:10 +0000
- Subject: src/gdb ChangeLog utils.c
CVSROOT: /cvs/src
Module name: src
Changes by: brobecke@sourceware.org 2013-10-11 08:20:10
Modified files:
gdb : ChangeLog utils.c
Log message:
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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.16092&r2=1.16093
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/utils.c.diff?cvsroot=src&r1=1.307&r2=1.308