http://bugs.winehq.org/show_bug.cgi?id=20509
--- Comment #5 from Paul Bolle pebolle@tiscali.nl 2009-11-04 08:08:57 --- (In reply to comment #4)
(In reply to comment #3)
- 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).