gdb/doc:
authorYao Qi <yao@codesourcery.com>
Tue, 18 Sep 2012 11:33:43 +0000 (11:33 +0000)
committerYao Qi <yao@codesourcery.com>
Tue, 18 Sep 2012 11:33:43 +0000 (11:33 +0000)
commit201b4506b3d34c274cdc5ec5ffb8f6e43fc982a9
tree3315adad7b15dc81c715d0e28da3778dbde9e49c
parentfbdc86d9c9e5fe451861a34381bf5483aec43bf1
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) <traceframe>:
New field.

* NEWS: Mention the new MI notification.

gdb/testsuite:

* gdb.trace/mi-traceframe-changed.exp: New.
gdb/ChangeLog
gdb/NEWS
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/doc/observer.texi
gdb/mi/mi-cmds.c
gdb/mi/mi-interp.c
gdb/mi/mi-main.h
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.trace/mi-traceframe-changed.exp [new file with mode: 0644]
gdb/tracepoint.c