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

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Oct 29 08:49:39 CDT 2009


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

           Summary: gdb proxy mode: random reply to Offsets query?
           Product: Wine
           Version: 1.1.32
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: winedbg
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: pebolle at tiscali.nl


0) In gdb proxy mode the replies to "query packets" are constructed in
programs/winedbg/gdbproxy.c:packet_query(). The reply to qOffsets is based on
gdbctx->wine_segs (that reply has the form: Text=[...];Data=[...];Bss=[...]).

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.

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