🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #10215

Gdb 3.5 under emacs

#10215
From: Eric L. Raible
Date: Wed, 14 Feb 1990 23:36
24 lines
1523 bytes
   From: munnari!sibyl.eleceng.ua.oz.au!ian@uunet.uu.net
   Date: Thu, 15 Feb 90 11:54:57 +1100

   I just built gdb 3.5 with relatively little trouble. However when I run it
   under emacs gdb-mode it doesn't dispaly the prompt correctly.
   It starts up fine except it doesn't print a prompt. If I then type
   a command line and hit return, gdb *THEN* displays the prompt followed
   by it's output. It is as though gdb's output is line buffered.

That is because of it is trying to do command-line editing via
readline.

I use the following gdb-mode-hook:

(setq gdb-mode-hook
      '(lambda ()
	 (let ((process (get-buffer-process current-gdb-buffer)))
	   (mapcar '(lambda (string)
		      (send-string process (concat string "\n")))
		   '("set editing 0"
		     "set screensize 0"
		     "set prettyprint 1"
		     "set unionprint 0")))))
Technical Details
Message-ID: <9002142336.AA00877@ew09.nas.nasa.gov>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!munnari.oz.au!uokmax!apple!usc!cs.utexas.edu!tut.cis.ohio-state.edu!EW09.NAS.NASA.GOV!raible

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5053,8647cd8fedc75833
X-Google-Attributes: gidf5053,public
X-Google-ArrivalTime: 1990-02-15 12:35:48 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!munnari.oz.au!uokmax!apple!usc!cs.utexas.edu!tut.cis.ohio-state.edu!EW09.NAS.NASA.GOV!raible
From: raible@EW09.NAS.NASA.GOV (Eric L. Raible)
Newsgroups: gnu.gdb.bug
Subject: Gdb 3.5 under emacs
Message-ID: <9002142336.AA00877@ew09.nas.nasa.gov>
Date: 14 Feb 90 23:36:29 GMT
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: raible@orville.nas.nasa.gov
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 24
Posted: Thu Feb 15 00:36:29 1990