Subject: bin/23486: gdb no longer works with emacs
To: None <>
From: Andreas Gustafsson <>
List: netbsd-bugs
Date: 11/19/2003 06:39:35
>Number:         23486
>Category:       bin
>Synopsis:       -current gdb no longer works with emacs
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 19 14:40:00 UTC 2003
>Originator:     Andreas Gustafsson
>Release:        NetBSD 1.6ZE
System: NetBSD 1.6ZE NetBSD 1.6ZE (GUAVA) #0: Sun Nov 2 11:03:16 PST 2003 i386
Architecture: i386
Machine: i386

Since the integration of gdb 5.3 into the base system, gdb no longer
functions when run under the emacs M-x gdb command.


 - Install emacs from pkgsrc.

 - Start emacs by typing "emacs".

 - Type the emacs command M-x gdb <return>.

 - At the prompt "Run gdb (like this):", edit the response to
   "/usr/bin/gdb /bin/sh" and press return (this will attempt to debug
   /bin/sh, but any target program will do).

 - At the (gdb) prompt, type "help" and press return.

 - Notice that no help is printed, just a new prompt.


Not known.  As a workaround, use the pkgsrc gdb instead.