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] |
Ping ? On Wed, 2009-07-08 at 13:33 +0200, Danny Backx wrote: > On Wed, 2009-07-08 at 11:55 +0200, Danny Backx wrote: > > It looks like ReadProcessMemory refuses to read from an address beyond > > the pointer, but it does work from the pointer itself. > > > > I've changed my code such that it loops, and tries to read a bigger > > chunk of memory at each iteration. > > > > I'm not bothering you with that code or its debug output right now. > > > > In that way, the code appears to work, and it complies with the > > documentation saying not to read more than required. > > > > Shall I submit a new patch based on this ? > > > > Danny > > Ignore that question, here's the patch. > > Please comment on its contents and on my adherence to the coding > standards. Apologies for that, I seem to have a hard time learning that. > > Danny > > 2009-07-08 Danny Backx <dannybackx@users.sourceforge.net> > > * win32-low.c (get_image_name) : Work around ReadProcessMemory > failure when reading at arbitrary addresses. > -- Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info
Attachment:
x
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |