OSDN Git Service

gdb
authortromey <tromey>
Thu, 9 Dec 2010 19:23:49 +0000 (19:23 +0000)
committertromey <tromey>
Thu, 9 Dec 2010 19:23:49 +0000 (19:23 +0000)
commit9a5d0c045e39dfe49e32d8343de48659a11a2e53
treef557b18b5c8f98cbae5e37d0bd677c64cb29d08c
parentd5b4bbdd0f95cae9edf0824f5b4a0ec90581099a
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