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 remote-sim.c


CVSROOT:	/cvs/src
Module name:	src
Changes by:	brobecke@sourceware.org	2012-06-14 18:17:37

Modified files:
	gdb            : ChangeLog remote-sim.c 

Log message:
	Fix invalid profile for command-completer in remote-sim.c
	
	The profile of command completers has been change to returna VEC
	of char_ptr.  Most completers were updated, except the one in
	remote-sim.c.
	
	Unfortunately, to make things a little more difficult, the meat of
	the completer is actually implemented in the sim, were VECs are not
	available.  This patch thus translates the returned array into a VEC,
	and then returns that VEC.
	
	gdb/ChangeLog:
	
	* remote-sim.c (sim_command_completer): Change type of return
	value to "VEC (char_ptr) *".  Adjust implementation accordingly.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.14363&r2=1.14364
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/remote-sim.c.diff?cvsroot=src&r1=1.108&r2=1.109


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