Small remote file transfer protocol adition

Pedro Alves pedro_alves@portugalmail.pt
Thu Jan 31 18:15:00 GMT 2008


Daniel Jacobowitz wrote:
> On Tue, Jan 29, 2008 at 05:51:58PM +0000, Pedro Alves wrote:
>> Well, since you ask :-)  I'd prefer my first suggestion, just
>> because it's simpler.  No worries about buffer size
>> limits, and the message being truncated.  If passing a message,
>> I'd have to be careful with what I'd say there, so it
>> doesn't confuse the user (strerror says one thing, native
>> error says something similar but not the same, possibly in
>> different locales).  This probably means I'd just pass the error
>> number anyway.
> 
> Yes, I see.  I'm convinced.
> 

Proposed patch posted here:
http://sourceware.org/ml/gdb-patches/2008-01/msg00860.html

-- 
Pedro Alves



More information about the Gdb mailing list