old-cross-binutils/gdb/cli
Vladimir Prus 683f2885af Implement MI notification for new threads.
* doc/observer.texi (new_thread): Document.
        * observer.sh: Forward declare struct thread_info.
        * thread.c (add_thread): Notify observer.

        * interps.h (interp_init_ftype): New parameter
        top_level.
        (interp_set): Likewise.
        (top_level_interpreter_data): Declare.
        * interps.c (interp_set): New parameter top_level.
        Pass it to interpreter's init function.  Remember
        top level interpreter.
        (interpreter_exec_cmd): Adjust.
        (top_level_interpreter_data): New.
        * main.c (captured_main): Pass 1 for top_level
        parameter of interp_set.
	* cli/cli-interp.c (cli_interpreter_init): New
        parameter top_level.
        * tui/tui-interp.c (tui_init): New parameter top_level.

        * mi/mi-interp.c (mi_new_thread): New.
        (mi_interpreter_init): If top level, register
        observer for new threads.

        * Makefile.in (mi-interp.o, thread.o): Update dependencies.
2008-03-14 17:21:08 +00:00
..
cli-cmds.c Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
cli-cmds.h Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
cli-decode.c Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
cli-decode.h Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
cli-dump.c Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
cli-dump.h Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
cli-interp.c Implement MI notification for new threads. 2008-03-14 17:21:08 +00:00
cli-logging.c Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
cli-script.c Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
cli-script.h Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
cli-setshow.c Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
cli-setshow.h Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
cli-utils.c Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
cli-utils.h Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00