diff options
author | Pedro Alves <palves@redhat.com> | 2015-09-09 18:23:24 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2015-09-09 18:24:56 +0100 |
commit | cfc3163382898a537c742bee1bf8240b3c09df35 (patch) | |
tree | 22297b33b80887894426ddb7433d60aab214ef89 /gdb/inf-loop.c | |
parent | 388a708404618466bbe51b7198de7a64f0a5da9f (diff) | |
download | gdb-cfc3163382898a537c742bee1bf8240b3c09df35.zip gdb-cfc3163382898a537c742bee1bf8240b3c09df35.tar.gz gdb-cfc3163382898a537c742bee1bf8240b3c09df35.tar.bz2 |
Convert the until/advance commands to thread_fsm mechanism
gdb/ChangeLog:
2015-09-09 Pedro Alves <palves@redhat.com>
* breakpoint.c: Include "thread-fsm.h".
(struct until_break_command_continuation_args): Delete.
(struct until_break_fsm): New.
(until_break_fsm_ops): New global.
(new_until_break_fsm, until_break_fsm_should_stop): New functions.
(until_break_command_continuation): Delete.
(until_break_fsm_clean_up): New function.
(until_break_fsm_async_reply_reason): New function.
(until_break_command): Adjust to create an until_break_fsm instead
of a continuation.
(momentary_bkpt_print_it): No longer print MI's async-stop-reason
here.
* infcmd.c (struct until_next_fsm): New.
(until_next_fsm_ops): New global.
(new_until_next_fsm, until_next_fsm_should_stop): New function.
(until_next_continuation): Delete.
(until_next_fsm_clean_up, until_next_fsm_async_reply_reason): New
functions.
(until_next_command): Adjust to create a new until_next_fsm
instead of a continuation.
Diffstat (limited to 'gdb/inf-loop.c')
0 files changed, 0 insertions, 0 deletions