2004-02-25 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Wed, 25 Feb 2004 15:57:42 +0000 (15:57 +0000)
committerAndrew Cagney <cagney@redhat.com>
Wed, 25 Feb 2004 15:57:42 +0000 (15:57 +0000)
commit4d2acc6562ea8a557c937f99945e6920ed3a85a6
treebdf73de27560bd8847e3ffdf9419e5ddfd253221
parent19b846f3d918cfadfb96d761a57a3a6b673809dd
2004-02-25  Andrew Cagney  <cagney@redhat.com>

PR cli/1566.  Problem found, and fix suggested by David Allan.
* cli/cli-script.c (execute_control_command): Unconditionally
install a cleanup.  Default "ret" to "invalid_control".  Use
"break" instead of "return" to escape from the switch.
gdb/ChangeLog
gdb/cli/cli-script.c