This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: text file formats
>>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:
>> Date: Thu, 6 Apr 2006 10:05:42 -0400 From: Daniel Jacobowitz
>> <drow@false.org>
>>
>> Why are you going to tremendous lengths to accomodate non-native
>> newline conventions? Is there some good reason I've missed?
Eli> I don't know if that's Bob's reason, but one good reason is that
Eli> nowadays you can never know where (on what machine) the source
Eli> files live, and who edits them on what platform. For example,
Eli> some developers are so used to Microsoft's Visual Studio that
Eli> they use it to edit sources to be compiled on Unix (via the
Eli> network).
Eli> So it does make sense to support non-native formats, although
Eli> adding that to GDB would be a non-trivial job.
This is only an issue if the source control system doesn't cure it.
Subversion does, for example.
paul