diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2023-02-08 15:36:23 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2023-02-08 15:46:02 -0500 |
commit | c583a2520616c2736cffc389c89a48b159366e6c (patch) | |
tree | b4925f26506fcee96c16119431c01760f05db95d /gdb/thread-fsm.h | |
parent | ca7f92c2f15b86b09c4a8ad14806bef666308d31 (diff) | |
download | binutils-users/simark/clang-format.zip binutils-users/simark/clang-format.tar.gz binutils-users/simark/clang-format.tar.bz2 |
Run clang-format.shusers/simark/clang-format
Change-Id: Ia948cc26d534b0dd02702244d52434b1a2093968
Diffstat (limited to 'gdb/thread-fsm.h')
-rw-r--r-- | gdb/thread-fsm.h | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/gdb/thread-fsm.h b/gdb/thread-fsm.h index 3720c30..fd0f86e 100644 --- a/gdb/thread-fsm.h +++ b/gdb/thread-fsm.h @@ -45,9 +45,7 @@ struct thread_fsm /* Called to clean up target resources after the FSM. E.g., if the FSM created internal breakpoints, this is where they should be deleted. */ - virtual void clean_up (struct thread_info *thread) - { - } + virtual void clean_up (struct thread_info *thread) {} /* Called after handle_inferior_event decides the target is done (that is, after stop_waiting). The FSM is given a chance to @@ -60,10 +58,7 @@ struct thread_fsm /* If this FSM saved a function's return value, you can use this method to retrieve it. Otherwise, this returns NULL. */ - virtual struct return_value_info *return_value () - { - return nullptr; - } + virtual struct return_value_info *return_value () { return nullptr; } enum async_reply_reason async_reply_reason () { @@ -74,20 +69,11 @@ struct thread_fsm } /* Whether the stop should be notified to the user/frontend. */ - virtual bool should_notify_stop () - { - return true; - } + virtual bool should_notify_stop () { return true; } - void set_finished () - { - finished = true; - } + void set_finished () { finished = true; } - bool finished_p () const - { - return finished; - } + bool finished_p () const { return finished; } /* The interpreter that issued the execution command that caused this thread to resume. If the top level interpreter is MI/async, |