|
From: | Pierre-Louis Escouflaire |
Subject: | Re: gud-mode --annotate=3 and synchronization problems |
Date: | Wed, 05 Sep 2007 17:53:02 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.3) Gecko/20040924 |
Nick Roberts wrote:
> 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 >... I don't get that because: *** gud.el 13 Aug 2007 20:51:56 +1200 1.129.2.6 --- gud.el 02 Sep 2007 15:20:41 +1200 *************** If SOFT is non-nil, returns nil if the s *** 104,109 **** --- 104,111 ---- "Non-nil if debugged program is running. Used to grey out relevant toolbar icons.")+ (defvar gdb-ready nil) + ...Have you byte compiled gud.el? (You may be loading an old version). These diffs were made against Emacs in CVS (EMACS_22_BASE branch) so you might need to adjust them a bit for Emacs 22.1.
OK, I just took the one from CVS (with no gdb-ready variable) and tested a bit with different configurations and I don't have any synchronization problems remaining.
I have seen that the default behavior is now 'gdb' with no option which I think to be much better (one generally removes the --annotate=3 option).
However, I have tested with the --annotate=3 option and I have seen that navigation through files is broken. In fact, it is due to the file location: it tries to open the file within directory "$(pwd)/source ${REAL_LOCATION}" (strings concatenation).
Note that gud-mode also behaves as gdb outside emacs, i.e. outputting those ^Z characters and current operation (pre-prompt, starting, breakpoint, etc.) sequence. I do not know if it is normal, but to me
Anyways, to me, it seems much better this way since one is not lost with options (s)he never used before and since the use of gdb is now much easier.
Thanks a lot 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.
[Prev in Thread] | Current Thread | [Next in Thread] |