[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: user-defined buttons and the execution arrow
From: |
Andreas Zeller |
Subject: |
Re: user-defined buttons and the execution arrow |
Date: |
16 Jan 2001 12:52:32 +0100 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands) |
Hi!
"Simon J. Yoon" <sy@axysdesign.com> writes:
> I've just switched from 3.2.1 to 3.2.95.
>
> I have the following problem:
>
> I have a made a button that does "next" and then calls a print
> function. It's defined as the following:
>
> define gdbiNext\n\
> next\n\
> call PrintState()\n\
> end\n\
>
> Whenever I use this button, the execution arrow in DDD does not move.
> If I use the DDD command window to and type in the commands - "next" and
> "call PrintState()" - everything works fine(the arrow moves). I've been
> using this custom button with 3.2.1 and it worked just fine with that
> version, and now it doesn't work with 3.2.95.
Correction to my previous posting: This was indeed a bug in 3.2.95.
When entering a command, DDD 3.2.95 checks whether it's user-defined.
If it is, DDD updates about everything (including the execution
arrow).
The problem was that your user-defined command contains upper-case
letters, but GDB 5.0 lists the command in lower case. These two did
not match, so DDD treated the command as not being user-defined (in
which case it updates nothing).
This problem is now fixed and will be in DDD 3.3 (to be released
during this week).
Thanks and best wishes,
Andreas
--
Andreas Zeller Universitaet Passau
http://www.fmi.uni-passau.de/st/staff/zeller/