]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb
authorTom Tromey <tromey@redhat.com>
Thu, 9 Dec 2010 19:23:01 +0000 (19:23 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 9 Dec 2010 19:23:01 +0000 (19:23 +0000)
commit9c32e4d38288171bb10585ef44613f1ce29f1e01
tree6b9940228255c93bf02c06f57b67f2ef7d4aea21
parent8fef5e4ddeb8890fb7b4a8ce1442a08e1c3171df
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