Subject: bin/7685: Gdb outputs ^M in emacs buffer
To: None <>
From: None <>
List: netbsd-bugs
Date: 06/01/1999 07:35:52
>Number:         7685
>Category:       bin
>Synopsis:       GDB 4.17 outputs control M charactes when run in an emacs buffer
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun  1 07:35:01 1999
>Originator:     Ian Dall
>Release:        <NetBSD-current source date> 1.4
System: NetBSD 1.4C NetBSD 1.4C (SIBYL) #1: Tue Jun 1 15:34:02 CST 1999 pc532

When gdb is run inside emacs, it litters the buffer with control M's which
are displayed as ^M. This seems to be due to the pseudo tty mode being
set to onlcr. If a shell script which does a stty is run in place of gdb
it can be seen that onlcr is *not* on. ie, for some reason, gdb it turning
it on itself.

gdb 4.16.95 build from FSF sources does not have this problem.

M-x gdb


None, but it is driving me nuts!