public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* MI interface grammar question
@ 2003-08-04 17:28 jacques
  0 siblings, 0 replies; 2+ messages in thread
From: jacques @ 2003-08-04 17:28 UTC (permalink / raw)
  To: gdb

|In the GDB/MI section of the gdb manual, the following expansios is 
described:

nl ==>|
    |CR | CR-LF


    What does this mean? there's no rule for CR or CR-LF, nor does it
    say what it represents.

    --Jacques




    |


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: MI interface grammar question
@ 2003-08-04 17:48 Michael Elizabeth Chastain
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Elizabeth Chastain @ 2003-08-04 17:48 UTC (permalink / raw)
  To: gdb, jacqueslenormand

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-08-04 17:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-04 17:28 MI interface grammar question jacques
2003-08-04 17:48 Michael Elizabeth Chastain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).