ping: [RFC] MI notification on register changes
Yao Qi
yao@codesourcery.com
Thu Nov 1 00:36:00 GMT 2012
On 10/23/2012 03:23 PM, Yao Qi wrote:
> gdb/doc:
>
> 2012-10-23 Yao Qi<yao@codesourcery.com>
>
> * gdb.texinfo (GDB/MI Async Records): Add '=register-changed'.
> * observer.texi (GDB Observers): Add observer
> 'register_changed'.
> gdb:
>
> 2012-10-23 Yao Qi<yao@codesourcery.com>
>
> * mi/mi-cmd-var.c (mi_cmd_var_assign): Set
> mi_suppress_notification.register_changed to 1 and restore it
> on exit.
> * mi/mi-interp.c: Include "regcache.h".
> Declare mi_register_changed.
> (mi_interpreter_init): Install mi_register_changed to observer
> 'register_changed'.
> (mi_register_changed): New.
> * mi/mi-main.h (struct mi_suppress_notification)
> <register_changed>: New.
>
> * value.c (struct value) <regnum>: Update comments.
> * eval.c (evaluate_subexp_standard):
>
> * valops.c (value_assign): Get frame info of 'toval' earlier.
> (value_assign): Call observer_notify_register_changed if
> 'toval' is related to a register.
>
> * NEWS: Mention it.
>
> gdb/testsuite/
>
> 2012-10-23 Yao Qi<yao@codesourcery.com>
>
> * gdb.mi/mi-reg-changed.c: New.
> * gdb.mi/mi-reg-changed.exp: New.
> * gdb.mi/mi-cli.exp: Update tests for new MI notification.
Ping. http://sourceware.org/ml/gdb-patches/2012-10/msg00401.html
--
Yao
More information about the Gdb-patches
mailing list