@@ -609,12 +609,12 @@ class CommandObjectBreakpointSet : public CommandObjectParsed {
609609 const size_t num_files = m_options.m_filenames .GetSize ();
610610 if (num_files == 0 ) {
611611 if (!GetDefaultFile (target, file, result)) {
612- result.AppendError (" No file supplied and no default file available. " );
612+ result.AppendError (" no file supplied and no default file available" );
613613 return ;
614614 }
615615 } else if (num_files > 1 ) {
616- result.AppendError (" Only one file at a time is allowed for file and "
617- " line breakpoints. " );
616+ result.AppendError (" only one file at a time is allowed for file and "
617+ " line breakpoints" );
618618 return ;
619619 } else
620620 file = m_options.m_filenames .GetFileSpecAtIndex (0 );
@@ -784,7 +784,7 @@ class CommandObjectBreakpointSet : public CommandObjectParsed {
784784 }
785785 result.SetStatus (eReturnStatusSuccessFinishResult);
786786 } else if (!bp_sp) {
787- result.AppendError (" Breakpoint creation failed: No breakpoint created. " );
787+ result.AppendError (" breakpoint creation failed: no breakpoint created" );
788788 }
789789 }
790790
@@ -940,7 +940,7 @@ class CommandObjectBreakpointEnable : public CommandObjectParsed {
940940 size_t num_breakpoints = breakpoints.GetSize ();
941941
942942 if (num_breakpoints == 0 ) {
943- result.AppendError (" No breakpoints exist to be enabled. " );
943+ result.AppendError (" no breakpoints exist to be enabled" );
944944 return ;
945945 }
946946
@@ -1048,7 +1048,7 @@ the second re-enables the first location.");
10481048 size_t num_breakpoints = breakpoints.GetSize ();
10491049
10501050 if (num_breakpoints == 0 ) {
1051- result.AppendError (" No breakpoints exist to be disabled. " );
1051+ result.AppendError (" no breakpoints exist to be disabled" );
10521052 return ;
10531053 }
10541054
@@ -1224,7 +1224,7 @@ class CommandObjectBreakpointList : public CommandObjectParsed {
12241224 }
12251225 result.SetStatus (eReturnStatusSuccessFinishNoResult);
12261226 } else {
1227- result.AppendError (" Invalid breakpoint ID. " );
1227+ result.AppendError (" invalid breakpoint ID" );
12281228 }
12291229 }
12301230 }
@@ -1318,7 +1318,7 @@ class CommandObjectBreakpointClear : public CommandObjectParsed {
13181318
13191319 // Early return if there's no breakpoint at all.
13201320 if (num_breakpoints == 0 ) {
1321- result.AppendError (" Breakpoint clear: No breakpoint cleared. " );
1321+ result.AppendError (" breakpoint clear: no breakpoint cleared" );
13221322 return ;
13231323 }
13241324
@@ -1364,7 +1364,7 @@ class CommandObjectBreakpointClear : public CommandObjectParsed {
13641364 output_stream.EOL ();
13651365 result.SetStatus (eReturnStatusSuccessFinishNoResult);
13661366 } else {
1367- result.AppendError (" Breakpoint clear: No breakpoint cleared. " );
1367+ result.AppendError (" breakpoint clear: no breakpoint cleared" );
13681368 }
13691369 }
13701370
@@ -1459,7 +1459,7 @@ class CommandObjectBreakpointDelete : public CommandObjectParsed {
14591459 size_t num_breakpoints = breakpoints.GetSize ();
14601460
14611461 if (num_breakpoints == 0 ) {
1462- result.AppendError (" No breakpoints exist to be deleted. " );
1462+ result.AppendError (" no breakpoints exist to be deleted" );
14631463 return ;
14641464 }
14651465
@@ -1504,7 +1504,7 @@ class CommandObjectBreakpointDelete : public CommandObjectParsed {
15041504 }
15051505 }
15061506 if (valid_bp_ids.GetSize () == 0 ) {
1507- result.AppendError (" No disabled breakpoints. " );
1507+ result.AppendError (" no disabled breakpoints" );
15081508 return ;
15091509 }
15101510 } else {
@@ -1712,7 +1712,7 @@ class CommandObjectBreakpointNameConfigure : public CommandObjectParsed {
17121712
17131713 const size_t argc = command.GetArgumentCount ();
17141714 if (argc == 0 ) {
1715- result.AppendError (" No names provided. " );
1715+ result.AppendError (" no names provided" );
17161716 return ;
17171717 }
17181718
@@ -1799,7 +1799,7 @@ class CommandObjectBreakpointNameAdd : public CommandObjectParsed {
17991799protected:
18001800 void DoExecute (Args &command, CommandReturnObject &result) override {
18011801 if (!m_name_options.m_name .OptionWasSet ()) {
1802- result.AppendError (" No name option provided. " );
1802+ result.AppendError (" no name option provided" );
18031803 return ;
18041804 }
18051805
@@ -1813,7 +1813,7 @@ class CommandObjectBreakpointNameAdd : public CommandObjectParsed {
18131813
18141814 size_t num_breakpoints = breakpoints.GetSize ();
18151815 if (num_breakpoints == 0 ) {
1816- result.AppendError (" No breakpoints, cannot add names. " );
1816+ result.AppendError (" no breakpoints, cannot add names" );
18171817 return ;
18181818 }
18191819
@@ -1825,7 +1825,7 @@ class CommandObjectBreakpointNameAdd : public CommandObjectParsed {
18251825
18261826 if (result.Succeeded ()) {
18271827 if (valid_bp_ids.GetSize () == 0 ) {
1828- result.AppendError (" No breakpoints specified, cannot add names. " );
1828+ result.AppendError (" no breakpoints specified, cannot add names" );
18291829 return ;
18301830 }
18311831 size_t num_valid_ids = valid_bp_ids.GetSize ();
@@ -1873,7 +1873,7 @@ class CommandObjectBreakpointNameDelete : public CommandObjectParsed {
18731873protected:
18741874 void DoExecute (Args &command, CommandReturnObject &result) override {
18751875 if (!m_name_options.m_name .OptionWasSet ()) {
1876- result.AppendError (" No name option provided. " );
1876+ result.AppendError (" no name option provided" );
18771877 return ;
18781878 }
18791879
@@ -1887,7 +1887,7 @@ class CommandObjectBreakpointNameDelete : public CommandObjectParsed {
18871887
18881888 size_t num_breakpoints = breakpoints.GetSize ();
18891889 if (num_breakpoints == 0 ) {
1890- result.AppendError (" No breakpoints, cannot delete names. " );
1890+ result.AppendError (" no breakpoints, cannot delete names" );
18911891 return ;
18921892 }
18931893
@@ -1899,7 +1899,7 @@ class CommandObjectBreakpointNameDelete : public CommandObjectParsed {
18991899
19001900 if (result.Succeeded ()) {
19011901 if (valid_bp_ids.GetSize () == 0 ) {
1902- result.AppendError (" No breakpoints specified, cannot delete names. " );
1902+ result.AppendError (" no breakpoints specified, cannot delete names" );
19031903 return ;
19041904 }
19051905 ConstString bp_name (m_name_options.m_name .GetCurrentValue ());
0 commit comments