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/gdbserver ChangeLog hostio.c


CVSROOT:	/cvs/src
Module name:	src
Changes by:	palves@sourceware.org	2013-07-01 11:29:17

Modified files:
	gdb/gdbserver  : ChangeLog hostio.c 

Log message:
	[GDBserver] hostio.c: Fallback to packet buffer size if PATH_MAX is not available.
	
	PATH_MAX is not defined on systems which have no limit on filename
	length, such as GNU/Hurd.  As designed, the hostio RSP packets carry
	the paths as parameters in the request/reply packets, which themselves
	have an upper size limit, so lifting the filename limit completely
	would require a redesign with new hostio packets.  While that doesn't
	happen, we can at least support filename lengths as long as the packet
	buffer can fit.
	
	gdb/gdbserver/
	2013-07-01  Pedro Alves  <palves@redhat.com>
	
	* hostio.c (HOSTIO_PATH_MAX): Define.
	(require_filename, handle_open, handle_unlink, handle_readlink):
	Use it.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/ChangeLog.diff?cvsroot=src&r1=1.737&r2=1.738
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/hostio.c.diff?cvsroot=src&r1=1.21&r2=1.22


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