OSDN Git Service

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)
commit70f1b14fcce5d0bee886aefe84d8b3dcc2b78deb
treebdf47a2f73137626eeb9bf53b8f562cbf7ce7163
parent37045ff9eb20b9166d3d8156a5ef05280fbf8296
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