unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#5561: Problem in gud mode and autocompletion
@ 2010-02-11 13:53 harold magniez
  2010-02-11 20:21 ` Nick Roberts
  0 siblings, 1 reply; 4+ messages in thread
From: harold magniez @ 2010-02-11 13:53 UTC (permalink / raw)
  To: 5561



-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







^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#5561: Problem in gud mode and autocompletion
  2010-02-11 13:53 bug#5561: Problem in gud mode and autocompletion harold magniez
@ 2010-02-11 20:21 ` Nick Roberts
  2010-02-12 14:58   ` harold magniez
  0 siblings, 1 reply; 4+ messages in thread
From: Nick Roberts @ 2010-02-11 20:21 UTC (permalink / raw)
  To: harold magniez; +Cc: 5561

 > -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






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#5561: Problem in gud mode and autocompletion
  2010-02-11 20:21 ` Nick Roberts
@ 2010-02-12 14:58   ` harold magniez
  2010-02-12 21:18     ` Nick Roberts
  0 siblings, 1 reply; 4+ messages in thread
From: harold magniez @ 2010-02-12 14:58 UTC (permalink / raw)
  To: Nick Roberts; +Cc: 5561@debbugs.gnu.org

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











^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#5561: Problem in gud mode and autocompletion
  2010-02-12 14:58   ` harold magniez
@ 2010-02-12 21:18     ` Nick Roberts
  0 siblings, 0 replies; 4+ messages in thread
From: Nick Roberts @ 2010-02-12 21:18 UTC (permalink / raw)
  To: harold magniez; +Cc: 5561-done@debbugs.gnu.org

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






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-02-12 21:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-11 13:53 bug#5561: Problem in gud mode and autocompletion harold magniez
2010-02-11 20:21 ` Nick Roberts
2010-02-12 14:58   ` harold magniez
2010-02-12 21:18     ` Nick Roberts

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).