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]

src/gdb ChangeLog Makefile.in cli/cli-dump.c c ...


CVSROOT:	/cvs/src
Module name:	src
Changes by:	palves@sourceware.org	2013-08-09 15:37:35

Modified files:
	gdb            : ChangeLog Makefile.in 
	gdb/cli        : cli-dump.c 
Removed files:
	gdb/cli        : cli-dump.h 

Log message:
	Make functions in cli-dump.c static and remove cli-dump.h.
	
	I noticed the functions declared in cli-dump.h aren't used anywhere
	outside cli-dump.c.
	
	The original patch that introduced cli-dump.c didn't include this header:
	
	http://sourceware.org/ml/gdb-patches/2002-03/msg00518.html
	
	But for some reason that I couldn't find from reading the archives around
	that patch's discussion, cli-dump.h was introduced in the final checkin,
	at:
	
	http://sourceware.org/ml/gdb-patches/2002-03/msg00596.html
	
	There seems to be no point in keeping this around nowadays.
	
	gdb/
	2013-08-09  Pedro Alves  <palves@redhat.com>
	
	* cli/cli-dump.c: Don't include cli/cli-dump.h.
	(scan_expression_with_cleanup, scan_filename_with_cleanup)
	(fopen_with_cleanup, add_dump_command): Make static.
	* cli/cli-dump.h: Delete file.
	* Makefile.in (HFILES_NO_SRCDIR): Remove reference to
	cli/cli-dump.h.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15880&r2=1.15881
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/Makefile.in.diff?cvsroot=src&r1=1.1264&r2=1.1265
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/cli/cli-dump.c.diff?cvsroot=src&r1=1.56&r2=1.57
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/cli/cli-dump.h.diff?cvsroot=src&r1=1.14&r2=NONE


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