gdb
authorTom Tromey <tromey@redhat.com>
Thu, 9 Dec 2010 19:23:49 +0000 (19:23 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 9 Dec 2010 19:23:49 +0000 (19:23 +0000)
commit305aeedc41771066e7283a798b108c95b027997e
treed70f4243ed04ef7a18ff2553a8b93c98ea200c20
parent90ecf1736cbde5d0ca94914e52a765d3ca01e5f5
gdb
* mi/mi-parse.h (mi_parse): Update.
* mi/mi-parse.c (mi_parse_cleanup): New function.
(mi_parse): Add 'token' argument.  Throw exception on error.
* mi/mi-main.c (mi_print_exception): New function.
(mi_execute_command): Use mi_print_exception.  Catch exceptions
from mi_parse.
gdb/testsuite
* gdb.base/interp.exp: Add regression test.
gdb/ChangeLog
gdb/mi/mi-main.c
gdb/mi/mi-parse.c
gdb/mi/mi-parse.h
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/interp.exp