From 201b4506b3d34c274cdc5ec5ffb8f6e43fc982a9 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Tue, 18 Sep 2012 11:33:43 +0000 Subject: gdb/doc: * observer.texi (GDB Observers): New observer 'traceframe_changed'. * gdb.texinfo (GDB/MI Async Records): Mention new MI notification '=traceframe-changed'. gdb: * tracepoint.c (tfind_1): Call observer_notify_traceframe_changed if traceframe changed. * mi/mi-cmds.c (mi_cmd mi_cmds): Adjust for command "trace-find". * mi/mi-interp.c: Declare 'mi_traceframe_changed'. (mi_interpreter_init): Hook mi_traceframe_changed to observer 'traceframe_changed'. (mi_traceframe_changed): New. * mi/mi-main.h (struct mi_suppress_notification) : New field. * NEWS: Mention the new MI notification. gdb/testsuite: * gdb.trace/mi-traceframe-changed.exp: New. --- gdb/NEWS | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gdb/NEWS') diff --git a/gdb/NEWS b/gdb/NEWS index dba6937..e282927 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -43,6 +43,8 @@ py [command] ** Command parameter changes are now notified using new async record "=cmd-param-changed". + ** Trace frame changes caused by command "tfind" are now notified using + new async record "=traceframe-changed". *** Changes in GDB 7.5 -- cgit v1.1