old-cross-binutils/gdb/mi
Mircea Gherzan 9198514297 MI: add the -catch-load and -catch-unload commands
They are equivalent to "catch load" and "catch unload" from CLI.

Rationale: GUIs might be interested in catching solib load or
unload events.

2012-11-16  Mircea Gherzan  <mircea.gherzan@intel.com>

	* Makefile.in (SUBDIR_MI_OBS): Add mi-cmd-catch.o.
	(SUBDIR_MI_SRCS): Add mi/mi-cmd-catch.c.
	* breakpoint.c (add_solib_catchpoint): New function that
	can be used by both CLI and MI, factored out from
	catch_load_or_unload.
	(catch_load_or_unload): Strip it down and make it use the
	new add_solib_catchpoint.
	* breakpoint.h (add_solib_catchpoint): Declare it.
	* mi/mi-cmd-break.h: New file.
	* mi/mi-cmd-break.c: Include mi-cmd-break.h.
	(setup_breakpoint_reporting): New function used for both
	catchpoints and breakpoints.
	(mi_cmd_break_insert): Use setup_breakpoint_reporting.
	* mi/mi-cmd-catch.c: New file.
	* mi/mi-cmds.c (mi_cmds): Add the handlers for -catch-load
	and -catch-unload.
	* mi/mi-cmds.h: Declare the handlers for -catch-load and
	-catch-unload.
2012-12-12 21:20:13 +00:00
..
ChangeLog-1999-2003
mi-cmd-break.c MI: add the -catch-load and -catch-unload commands 2012-12-12 21:20:13 +00:00
mi-cmd-break.h MI: add the -catch-load and -catch-unload commands 2012-12-12 21:20:13 +00:00
mi-cmd-catch.c MI: add the -catch-load and -catch-unload commands 2012-12-12 21:20:13 +00:00
mi-cmd-disas.c
mi-cmd-env.c
mi-cmd-file.c
mi-cmd-info.c
mi-cmd-stack.c
mi-cmd-target.c
mi-cmd-var.c 2012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com> 2012-12-06 18:59:57 +00:00
mi-cmds.c MI: add the -catch-load and -catch-unload commands 2012-12-12 21:20:13 +00:00
mi-cmds.h MI: add the -catch-load and -catch-unload commands 2012-12-12 21:20:13 +00:00
mi-common.c
mi-common.h
mi-console.c
mi-console.h
mi-getopt.c
mi-getopt.h
mi-interp.c
mi-main.c 2012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com> 2012-11-13 21:19:11 +00:00
mi-main.h
mi-out.c ARI fixes: Avoid sprintf function use rule. 2012-11-13 09:46:11 +00:00
mi-out.h
mi-parse.c
mi-parse.h
mi-symbol-cmds.c