all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pierre-Louis Escouflaire <pierre-louis.escouflaire@eurocontrol.int>
To: bug-gnu-emacs@gnu.org
Subject: Re: gud-mode --annotate=3 and synchronization problems
Date: Tue, 04 Sep 2007 13:47:09 +0200	[thread overview]
Message-ID: <46DD45BD.1060300@eurocontrol.int> (raw)

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.

             reply	other threads:[~2007-09-04 11:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-04 11:47 Pierre-Louis Escouflaire [this message]
2007-09-05  5:20 ` gud-mode --annotate=3 and synchronization problems Nick Roberts
2007-09-05 15:53   ` Pierre-Louis Escouflaire
2007-09-06  7:08     ` Nick Roberts
  -- strict thread matches above, loose matches on Subject: below --
2007-08-30 15:58 Pierre-Louis Escouflaire
2007-08-31  5:18 ` Nick Roberts
2007-09-01  4:06   ` Richard Stallman
2007-09-02  3:26 ` Nick Roberts

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46DD45BD.1060300@eurocontrol.int \
    --to=pierre-louis.escouflaire@eurocontrol.int \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.