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-08-23 13:12:17

Modified files:
	gdb            : ChangeLog remote.c 

Log message:
	remote.c: don't install a deprecated_xfer_memory hook.
	
	There's no need for deprecated_xfer_memory nowadays.  Memory access
	goes through target_xfer_partial/TARGET_OBJECT_MEMORY, etc.  In fact,
	the remote target already handles that, and is deferring to the same
	helpers the deprecated_xfer_memory hook is.  Basically, only a few
	adjustments to make these helper routines's interfaces closer to
	target_xfer_partial's were necessary.
	
	Tested on x86_64 Fedora 17 w/ gdbserver.
	
	gdb/
	2013-08-23  Pedro Alves  <palves@redhat.com>
	
	* remote.c (remote_write_bytes_aux, remote_write_bytes)
	(remote_read_bytes): Change return type to LONGEST, and adjust to
	return a target_xfer_error on error.
	(remote_xfer_memory): Delete.
	(remote_flash_write): Change type of 'ret' local to LONGEST.
	(remote_xfer_partial, remote_xfer_partial): Adjust.
	(init_remote_ops): Don't install a deprecated_xfer_memory hook.

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


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