This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MI interface grammar question


nl ==>|
    |CR | CR-LF

These are just ASCII characters.

'CR' is a literal character, ascii "carriage return", character 0x0D.
'LF' is a literal character, ascii "line feed", character 0x0A.

For historical reasons, there are two separate characters
to mark the end of the line.

Unix and Linux systems use 'LF'.
Windows and MS-DOS systems use 'CR' followed by 'LF'.
Macintosh systems use 'CR'.

For more information on ascii, hit google, or try this:

  http://www.jimprice.com/jim-asc.htm

Michael C


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]