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


CVSROOT:	/cvs/src
Module name:	src
Changes by:	palves@sourceware.org	2013-09-27 13:23:32

Modified files:
	gdb            : ChangeLog remote.c 

Log message:
	remote.c: Remove unnecessary fields from 'struct stop_reply'.
	
	I noticed these fields aren't really necessary -- if the T stop reply
	indicated any we have any special event, the fallthrough doesn't
	really do anything.
	
	Tested on x86_64 Fedora 17 w/ local gdbserver, and also confirmed
	"catch load" against a Windows gdbserver running under Wine, which
	exercises TARGET_WAITKIND_LOADED, still works as expected.
	
	gdb/
	2013-09-27  Pedro Alves  <palves@redhat.com>
	
	* remote.c (struct stop_reply) <solibs_changed, replay_event>:
	Delete fields.
	(remote_parse_stop_reply): Adjust, setting event->ws.kind
	directly.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.16041&r2=1.16042
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/remote.c.diff?cvsroot=src&r1=1.577&r2=1.578


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