@@ -4796,12 +4796,12 @@ class CommandObjectTargetStopHookAdd : public CommandObjectParsed,
47964796 m_one_liner.push_back (std::string (option_arg));
47974797 break ;
47984798
4799- case ' F ' : {
4799+ case ' I ' : {
48004800 bool value, success;
48014801 value = OptionArgParser::ToBoolean (option_arg, false , &success);
4802- if (success) {
4803- m_at_first_stop = value;
4804- } else
4802+ if (success)
4803+ m_at_initial_stop = value;
4804+ else
48054805 error = Status::FromErrorStringWithFormat (
48064806 " invalid boolean value '%s' passed for -F option" ,
48074807 option_arg.str ().c_str ());
@@ -4833,7 +4833,7 @@ class CommandObjectTargetStopHookAdd : public CommandObjectParsed,
48334833 m_use_one_liner = false ;
48344834 m_one_liner.clear ();
48354835 m_auto_continue = false ;
4836- m_at_first_stop = true ;
4836+ m_at_initial_stop = true ;
48374837 }
48384838
48394839 std::string m_class_name;
@@ -4854,7 +4854,7 @@ class CommandObjectTargetStopHookAdd : public CommandObjectParsed,
48544854 // Instance variables to hold the values for one_liner options.
48554855 bool m_use_one_liner = false ;
48564856 std::vector<std::string> m_one_liner;
4857- bool m_at_first_stop ;
4857+ bool m_at_initial_stop ;
48584858
48594859 bool m_auto_continue = false ;
48604860 };
@@ -5020,8 +5020,8 @@ Filter Options:
50205020 if (specifier_up)
50215021 new_hook_sp->SetSpecifier (specifier_up.release ());
50225022
5023- // Should we run at first stop:
5024- new_hook_sp->SetRunAtFirstStop (m_options.m_at_first_stop );
5023+ // Should we run at the initial stop:
5024+ new_hook_sp->SetRunAtInitialStop (m_options.m_at_initial_stop );
50255025
50265026 // Next see if any of the thread options have been entered:
50275027
0 commit comments