Subject: bug#4022: 23.1; 'cd' and 'pwd' not working

From: Pranith Kumar <[email-masked]>
Date: Mon, 3 Aug 2009 11:29:25 +0530

'cd' and 'pwd' are not working in gdb under emacs. Am using emacs 23.1 on RHEL 4 WS.

Here is a brief description of what happens:

(gdb) cd /home/bob/
_
The cursor just hangs in the next line when I press enter.
If I press tab for tab completion, emacs just hangs.

In GNU Emacs 23.1.2 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2009-07-31 on inndesk171
Windowing system distributor `The X.Org Foundation', version 11.0.60802000
configured using `configure  '--prefix=/home/prakumar/bin/' '--without-makeinfo''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: ERC

Minor modes in effect:
  erc-list-mode: t
  erc-menu-mode: t
  erc-autojoin-mode: t
  erc-ring-mode: t
  erc-networks-mode: t
  erc-pcomplete-mode: t
  erc-track-mode: t
  erc-track-minor-mode: t
  erc-match-mode: t
  erc-button-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  erc-netsplit-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-move-to-prompt-mode: t
  erc-readonly-mode: t
  display-time-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t

Recent input:
<backspace> c o m m a n d s SPC d o SPC n o t SPC w 
o r k SPC p r o p e r l y . SPC E s p e c i a l l y 
SPC c <backspace> ' c d ' SPC a n d SPC ' p w d ' <return> 
t h e y SPC j u s t SPC r e t u r n SPC <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> SPC g o SPC t o SPC t h e SPC 
n e x t SPC l i n e SPC w h e n SPC i SPC p r e s s 
SPC e n t e r SPC a n d SPC k e e p SPC w a i t i n 
g SPC t h e r e <return> A n y SPC c l u e s ? <return> 
<down-mouse-4> <mouse-4> <down-mouse-4> <mouse-4> <down-mouse-4> 
<mouse-4> <double-down-mouse-4> <double-mouse-4> <triple-down-mouse-4> 
<triple-mouse-4> <triple-down-mouse-4> <triple-mouse-4> 
<triple-down-mouse-4> <triple-mouse-4> <triple-down-mouse-4> 
<triple-mouse-4> <triple-down-mouse-4> <triple-mouse-4> 
<triple-down-mouse-4> <triple-mouse-4> <triple-down-mouse-4> 
<triple-mouse-4> <down-mouse-5> <mouse-5> <double-down-mouse-5> 
<double-mouse-5> <triple-down-mouse-5> <triple-mouse-5> 
<triple-down-mouse-5> <triple-mouse-5> <triple-down-mouse-5> 
<triple-mouse-5> <down-mouse-4> <mouse-4> <double-down-mouse-4> 
<double-mouse-4> <triple-down-mouse-4> <triple-mouse-4> 
<help-echo> <help-echo> <down-mouse-5> <mouse-5> <double-down-mouse-5> 
<double-mouse-5> <triple-down-mouse-5> <triple-mouse-5> 
<triple-down-mouse-5> <triple-mouse-5> <triple-down-mouse-5> 
<triple-mouse-5> <triple-down-mouse-5> <triple-mouse-5> 
<down-mouse-1> <mouse-1> n o t SPC d e f i n e d <left> 
<left> <left> <left> <left> <left> <left> <left> <left> 
<left> <left> <left> <right> c o l d h e a d , SPC 
<return> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <menu-bar> <file> <make-frame> <switch-frame> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> C-x C-g <help-echo> M-x r e p o r t <tab> 
<return>

Recent messages:
Unable to load Function Menu package
.emacs loaded successfully.
For information about GNU Emacs and the GNU system, type C-h C-a.
Connecting to irc.freenode.net:8000... ...done
Logging in as 'bobs1234'...
Logging in without password
Logging in as 'bobs1234'... done
call-interactively: Text is read-only
byte-code: Beginning of buffer [6 times]
byte-code: End of buffer [3 times]
byte-code: End of buffer