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

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Nov 4 08:08:57 CST 2009


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





--- Comment #5 from Paul Bolle <pebolle at tiscali.nl>  2009-11-04 08:08:57 ---
(In reply to comment #4)
> (In reply to comment #3)
> > 1) The code will currently return an error packet if all three are zero.
> yes, but that what you'd expect if the main exec is not relocated.

As far as I can see (untested, however) that will generate a gdb warning:
  if (buf[0] == 'E')
    {
      warning (_("Remote failure reply: %s"), buf);
      return;
    }

So to me it looks better to return three zero offsets explicitly (or return
nothing, which gdb seems to handle juts fine, silently).

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