[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gud-mode --annotate=3 and synchronization problems
From: |
Pierre-Louis Escouflaire |
Subject: |
Re: gud-mode --annotate=3 and synchronization problems |
Date: |
Tue, 04 Sep 2007 13:47:09 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.3) Gecko/20040924 |
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.