[Bug 20509] gdb proxy mode: random reply to Offsets query?

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Oct 29 16:24:16 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=20509





--- Comment #1 from Paul Bolle <pebolle at tiscali.nl>  2009-10-29 16:24:15 ---
(In reply to comment #0)
> 1) As far as I can see gdbctx->wine_segs is never properly set, so the reply
> seems to be (basically) random.
> 
> 2) If the above is correct, the code needs a patch. I have no idea to what
> value(s) gdbctx->wine_segs should be set, so I can't draft that patch.

A simple printf() at the top of gdb_remote() trivially proves that wine_segs
will not be changed after gdbctx is defined (and still holds random data once
it is used).

Someone with a suggestion for a solution?

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list