GNU bug report logs - #5561
Problem in gud mode and autocompletion

Previous Next

Package: emacs;

Reported by: harold magniez <harold.magniez <at> parrot.com>

Date: Thu, 11 Feb 2010 14:21:02 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 5561 in the body.
You can then email your comments to 5561 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5561; Package emacs. (Thu, 11 Feb 2010 14:21:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to harold magniez <harold.magniez <at> parrot.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 11 Feb 2010 14:21:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: harold magniez <harold.magniez <at> parrot.com>
To: <bug-gnu-emacs <at> gnu.org>
Subject: Problem in gud mode and autocompletion
Date: Thu, 11 Feb 2010 14:53:10 +0100

-Launch gdb : M-x gdb
=>We are in gud mode
-Start to write a command in gdb and do a TAB
=>Emacs is blocked, we have the mouse pointer showing emacs is working
We can quit this state by C-g

It is a regression, it is working with
"This is GNU Emacs 22.1.1 (i486-pc-linux-gnu, GTK+ Version 2.12.9)
of 2008-05-03 on terranova, modified by Ubuntu"



In GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.12.9)
of 2009-11-29 on seaborgium, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.10400090
configured using `configure  '--build=i486-linux-gnu' 
'--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' 
'--libexecdir=/usr/lib' '--localstatedir=/var/lib' 
'--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' 
'--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' 
'--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 
'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 
'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=''

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: fr_FR.UTF-8
 value of $XMODIFIERS: nil
 locale-coding-system: utf-8-unix
 default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
 show-paren-mode: t
 cua-mode: t
 ecb-minor-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
 blink-cursor-mode: t
 global-auto-composition-mode: t
 auto-encryption-mode: t
 auto-compression-mode: t
 column-number-mode: t
 line-number-mode: t
 transient-mark-mode: t

Recent input:
<help-echo> M-x g d g <backspace> b <return> <home>
C-k g d b <return> s o u r <tab> <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> <help-menu> <about-gnu-project>
<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> <help-menu>
<about-emacs> <help-echo> <help-echo> <down-mouse-5>
<mouse-5> <double-down-mouse-5> <double-mouse-5> <down-mouse-4>
<mouse-4> <double-down-mouse-4> <double-mouse-4> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> M-x g d b <return> <return> <backspace>
<backspace> <backspace> <backspace> <backspace> c d
SPC <tab> =e9 <backspace> ~ / c i b <tab> <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> <help-menu>
<about-emacs> <help-echo> <help-echo> <down-mouse-1>
<mouse-movement> <help-echo> <drag-mouse-1> <help-echo>
<down-mouse-1> <mouse-1> <help-echo> <help-echo> <help-echo>
<down-mouse-1> <mouse-1> M-x e m a c s <kp-subtract>
v <tab> <return> <help-echo> <down-mouse-1> <mouse-1>
M-x r e p o r <tab> <return>

Recent messages:
Note: file is write protected
View mode: type C-h for help, h for commands, q to quit.
Mark set [368 times]
For information about GNU Emacs and the GNU system, type C-h C-a.
Mark set [353 times]
gdb: Multiple debugging requires restarting in text command mode
Quit [2 times]
For information about GNU Emacs and the GNU system, type C-h C-a.
GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.12.9) of 2009-11-29 
on seaborgium, modified by Debian





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5561; Package emacs. (Thu, 11 Feb 2010 21:25:02 GMT) Full text and rfc822 format available.

Message #8 received at 5561 <at> debbugs.gnu.org (full text, mbox):

From: nickrob <at> snap.net.nz (Nick Roberts)
To: harold magniez <harold.magniez <at> parrot.com>
Cc: 5561 <at> debbugs.gnu.org
Subject: bug#5561: Problem in gud mode and autocompletion
Date: Fri, 12 Feb 2010 09:21:19 +1300
 > -Launch gdb : M-x gdb
 > =>We are in gud mode
 > -Start to write a command in gdb and do a TAB
 > =>Emacs is blocked, we have the mouse pointer showing emacs is working

The mouse pointer is controlled by X so this shows nothing.

 > We can quit this state by C-g

Yes, it interrupts whatever Emacs is doing.

 > It is a regression, it is working with
 > "This is GNU Emacs 22.1.1 (i486-pc-linux-gnu, GTK+ Version 2.12.9)
 >  of 2008-05-03 on terranova, modified by Ubuntu"
 > 
 > 
 > In GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.12.9)

This is a released version.  It works for me and there haven't been other
reports so there must be something unusual about your set up.  It may be that
there are just too many completions for Emacs to handle.  What happens if you
do the same on the command line?  Do you get something like:

(gdb) b <TAB>
Display all 20954 possibilities? (y or n)

If not then could you send details of the gdb command and program that you are
using.  Does it happen with a simple "hello world" program?

-- 
Nick                                           http://users.snap.net.nz/~nickrob




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5561; Package emacs. (Fri, 12 Feb 2010 15:06:02 GMT) Full text and rfc822 format available.

Message #11 received at 5561 <at> debbugs.gnu.org (full text, mbox):

From: harold magniez <harold.magniez <at> parrot.com>
To: Nick Roberts <nickrob <at> snap.net.nz>
Cc: "5561 <at> debbugs.gnu.org" <5561 <at> debbugs.gnu.org>
Subject: bug#5561: Problem in gud mode and autocompletion
Date: Fri, 12 Feb 2010 15:58:33 +0100
It is worth than I thought

If I send a command in gdb, it do nothing
I have to do C-c C-c to recovery the (gdb) prompt

But I found a solution to my problem :
I call gdb with --annotate=3 parameter


On emacs22 it works without this parameter









Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5561; Package emacs. (Fri, 12 Feb 2010 21:52:01 GMT) Full text and rfc822 format available.

Message #14 received at 5561 <at> debbugs.gnu.org (full text, mbox):

From: nickrob <at> snap.net.nz (Nick Roberts)
To: harold magniez <harold.magniez <at> parrot.com>
Cc: "5561-done <at> debbugs.gnu.org" <5561 <at> debbugs.gnu.org>
Subject: bug#5561: Problem in gud mode and autocompletion
Date: Sat, 13 Feb 2010 10:18:18 +1300
harold magniez writes:
 > It is worth than I thought
 > 
 > If I send a command in gdb, it do nothing
 > I have to do C-c C-c to recovery the (gdb) prompt
 > 
 > But I found a solution to my problem :
 > I call gdb with --annotate=3 parameter
 > 
 > 
 > On emacs22 it works without this parameter

I don't uderstand your reply.  You must keep the "--annotate=3" in the command
expression in the mini-buffer for GDB Graphical Interface to work for both
Emacs 22 and Emacs 23.  Emacs 21 uses a different option ("--fullname") but
this doesn't get displayed in the mini-buffer.

Anyway it sounds like it works for you now, so I'm closing this bug report.

-- 
Nick                                           http://users.snap.net.nz/~nickrob




bug closed, send any further explanations to harold magniez <harold.magniez <at> parrot.com> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 13 Feb 2010 19:36:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <bug-gnu-emacs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 14 Mar 2010 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 158 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.