This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb/users/hjl/linux/master] gdb/compile/compile.c: Check return value of 'system' to avoid compiler warning


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1710aab8af63e37c846efb7ed66e76dce95330ba

commit 1710aab8af63e37c846efb7ed66e76dce95330ba
Author: Chen Gang <gang.chen@sunrus.com.cn>
Date:   Fri Jan 9 10:09:03 2015 +0000

    gdb/compile/compile.c: Check return value of 'system' to avoid compiler warning
    
    Add missing ChangeLog entry.
    
    2015-01-09  Chen Gang  <gang.chen.5i5j@gmail.com>
    	    Pedro Alves  <palves@redhat.com>
    
    	* compile/compile.c: Include "gdb_wait.h".
    	(do_rmdir): Check return value, and free 'zap'.

Diff:
---
 gdb/ChangeLog | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index fea9207..7c390e9 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2015-01-09  Chen Gang  <gang.chen.5i5j@gmail.com>
+	    Pedro Alves  <palves@redhat.com>
+
+	* compile/compile.c: Include "gdb_wait.h".
+	(do_rmdir): Check return value, and free 'zap'.
+
 2015-01-08  Pedro Alves  <palves@redhat.com>
 	    Yao Qi  <yao@codesourcery.com>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]