This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/3] attach to command_param_changed observer.
>>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:
Yao> 2012-08-03 Yao Qi <yao@codesourcery.com>
Yao> * NEWS: Mention new MI notification.
Yao> * mi/mi-interp.c: Declare mi_command_param_changed.
Yao> (mi_interpreter_init): Attach mi_command_param_changed to
Yao> observer command_param_changed.
Yao> (mi_command_param_changed): New.
Yao> Remove mi_suppress_breakpoint_notifications.
Yao> Define global variable mi_suppress_notification.
Yao> (mi_breakpoint_created): Update.
Yao> (mi_breakpoint_deleted): Likewise.
Yao> (mi_breakpoint_modified): Likewise.
Yao> * mi/mi-main.c (mi_cmd_execute): Likewise. Check command
Yao> 'gdb-set' and set mi_suppress_notification.
Yao> * mi/mi-main.h: (mi_suppress_notification): New struct.
Code bits are ok once patch #1 is resolved.
Tom