all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* gud-mode --annotate=3 and synchronization problems
@ 2007-08-30 15:58 Pierre-Louis Escouflaire
  2007-08-31  5:18 ` Nick Roberts
  2007-09-02  3:26 ` Nick Roberts
  0 siblings, 2 replies; 8+ messages in thread
From: Pierre-Louis Escouflaire @ 2007-08-30 15:58 UTC (permalink / raw)
  To: bug-gnu-emacs


Typing commands before gdb is ready makes gud-mode confused.
Also note the command being repeated on quit using Ctrl-D (^D).


Current directory is /auto/home/esf/TACTDEV_HOME/carp_esf_G!67.IP.L3_12.348/tact/12.348/data_files/
GNU gdb 6.6 for GNAT Pro 6.1.0w (20070825) [rev:14057]
Copyright 2005-2007 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
See your support agreement for details of warranty and support.
If you do not have a current support agreement, then there is absolutely
no warranty for this version of GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...help

Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) help
No breakpoints or watchpoints.
(gdb) No breakpoints or watchpoints.
(gdb) No breakpoints or watchpoints.
(gdb) 
Debugger finished


We also noticed some other synchronization problems.
We are currently trying to reproduce them.


Thanks for your concern.

Regards,
Pierre-Louis ESCOUFLAIRE.



In GNU Emacs 22.1.1 (i686-pc-linux-gnu, X toolkit)
 of 2007-08-30 on pike
Windowing system distributor `Hewlett-Packard Company', version 11.0.600000
configured using `configure  '--prefix=/cm/ot/TOOL/GNU!12.48/build_G!67.IP.L3/generated' '--exec-prefix=/cm/ot/TOOL/GNU!12.48/build_G!67.IP.L3/generated/libexec/emacs-22.1' '--mandir=/cm/ot/TOOL/GNU!12.48/build_G!67.IP.L3/generated/man' '--with-xpm' 'CFLAGS=-g' 'LDFLAGS= -L/cm/ot/TOOL/GNU!12.48/build_G!67.IP.L3/generated/work/emacs-22.1/xpm-3.4k/lib' 'CPPFLAGS=-I/cm/ot/TOOL/GNU!12.48/build_G!67.IP.L3/generated/work/emacs-22.1/xpm-3.4k ''

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: C
  locale-coding-system: nil
  default-enable-multibyte-characters: nil

Major mode: Debugger

Minor modes in effect:
  iswitchb-mode: t
  show-paren-mode: t
  which-function-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
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x g d b <return> m o n o _ p r o c e s s <return> h e l p
<return> h e l p <backspace> <backspace> <backspace> <backspace>
h e l p <return> C-d C-d C-d C-d <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> 
<report-emacs-bug>

Recent messages:
For information about the GNU Project and its goals, type C-h C-p.
Unable to load color "grey30" [3 times]
Loading gud...
Loading easy-mmode...done
Loading gud...done
call-interactively: Text is read-only
Quit [2 times]
run-hooks: Symbol's value as variable is void: gud-break
comint-delchar-or-maybe-eof: End of buffer [2 times]
Loading emacsbug...done
____

This message and any files transmitted with it are legally privileged and intended for the sole use of the individual(s) or entity to whom they are addressed. If you are not the intended recipient, please notify the sender by reply and delete the message and any attachments from your system. Any unauthorised use or disclosure of the content of this message is strictly prohibited and may be unlawful.

Nothing in this e-mail message amounts to a contractual or legal commitment on the part of EUROCONTROL, unless it is confirmed by appropriately signed hard copy.

Any views expressed in this message are those of the sender.

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: gud-mode --annotate=3 and synchronization problems
@ 2007-09-04 11:47 Pierre-Louis Escouflaire
  2007-09-05  5:20 ` Nick Roberts
  0 siblings, 1 reply; 8+ messages in thread
From: Pierre-Louis Escouflaire @ 2007-09-04 11:47 UTC (permalink / raw)
  To: bug-gnu-emacs

Nick Roberts wrote:
>> Typing commands before gdb is ready makes gud-mode confused.
>
> I've looked at this more carefully now.  Does the patch below fix it
> if you use M-x gdba?  (As a general note, if you want to use GDB in
> graphical mode it's better to use M-x gdba than M-x gdb)


With M-x gdb, gdb does not execute the first command (before prompt) and
gets stuck (freezes) with the second (during prompt).
With M-x gdba, it is exactly the same.

Here are some tests I have performed.

With M-x gdb:
Not doing anything before gdb prompt appears is OK.

Not doing anything but `M-x describe-variable RET gdb-ready' before gdb 
prompt appears tells "No match" and then commands make gdb freeze. Plus, 
hre are some messages I had:
   when: Symbol's value as variable is void: gdb-ready
   error in process filter: cond: Phase error in gdb-pre-prompt (got 
pre-emacs)
   error in process filter: Phase error in gdb-pre-prompt (got pre-emacs)

Note that all goes along with the --annotate=3 option.

With M-x gdba:
Not doing anything before gdb prompt appears is OK.

Not doing anything but `M-x describe-variable RET gdb-ready' before gdb 
prompt appears tells "No match" and then commands make gdb freeze.

The gdb-ready variable is defined everytime.
However, it is still set to 'nil' after the first prompt appeared.


>> Also note the command being repeated on quit using Ctrl-D (^D).
>
> I thought we had solved this problem.  Can you be more specific?  Does
> it still happen with M-x gdba

With M-x gdb:
Not doing anything before gdb prompt appears, I receive this message:
when: Symbol's value as variable is void: gdb-ready

With M-x gdba:
Not doing anything before gdb prompt appears, it does not do anything 
until gdb is in the 'ready' state. Then it quits normally.



Thanks for your concern

Regards,
Pierre-Louis ESCOUFLAIRE

____

This message and any files transmitted with it are legally privileged and intended for the sole use of the individual(s) or entity to whom they are addressed. If you are not the intended recipient, please notify the sender by reply and delete the message and any attachments from your system. Any unauthorised use or disclosure of the content of this message is strictly prohibited and may be unlawful.

Nothing in this e-mail message amounts to a contractual or legal commitment on the part of EUROCONTROL, unless it is confirmed by appropriately signed hard copy.

Any views expressed in this message are those of the sender.

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

end of thread, other threads:[~2007-09-06  7:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-30 15:58 gud-mode --annotate=3 and synchronization problems Pierre-Louis Escouflaire
2007-08-31  5:18 ` Nick Roberts
2007-09-01  4:06   ` Richard Stallman
2007-09-02  3:26 ` Nick Roberts
  -- strict thread matches above, loose matches on Subject: below --
2007-09-04 11:47 Pierre-Louis Escouflaire
2007-09-05  5:20 ` Nick Roberts
2007-09-05 15:53   ` Pierre-Louis Escouflaire
2007-09-06  7:08     ` Nick Roberts

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.