This is the mail archive of the gdb-patches@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]

Re: [Windows]Fix a bug which cause GDB.exe assert when try to run the inferior


On 02/21/2014 02:11 PM, asmwarrior wrote:
> Windows: Fix target_xfer_partial: Assertion `*xfered_len > 0' failed.
> The failure was introduced in commit 9b409511d07fe375284701af34909fb539029caf, 2014-02-11.
> gdb/windows-nat.c (windows_xfer_shared_libraries) : If len is 0, it should return TARGET_XFER_EOF.

The format of the changelog entry isn't correct.  On the other hand,
changelog entry is about "what are changed", so "it should return
TARGET_XFER_EOF" doesn't describe "what are changed" clearly.  I suggest
something below.  Otherwise, I don't have comments.

gdb:

2014-02-21  Yuanhui Zhang  <asmwarrior@gmail.com>

	* windows-nat.c (windows_xfer_shared_libraries): Return
	TARGET_XFER_EOF if LEN is zero.

-- 
Yao (éå)


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