This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[ob] Spelling in mi-main.c


Committed as obvious.

-- 
Nick                                           http://www.inet.net.nz/~nickrob


2008-03-27  Nick Roberts  <nickrob@snap.net.nz>

	* mi/mi-main.c (enum captured_mi_execute_command_actions):
	Spell suppress in EXECUTE_COMMAND_SUPPRESS_PROMPT correctly.


*** mi-main.c.~1.109.~	2008-03-16 07:27:28.000000000 +1200
--- mi-main.c	2008-03-27 15:38:08.000000000 +1200
*************** enum
*** 67,73 ****
  enum captured_mi_execute_command_actions
    {
      EXECUTE_COMMAND_DISPLAY_PROMPT,
!     EXECUTE_COMMAND_SUPRESS_PROMPT
    };
  
  /* This structure is used to pass information from captured_mi_execute_command
--- 67,73 ----
  enum captured_mi_execute_command_actions
    {
      EXECUTE_COMMAND_DISPLAY_PROMPT,
!     EXECUTE_COMMAND_SUPPRESS_PROMPT
    };
  
  /* This structure is used to pass information from captured_mi_execute_command
*************** mi_cmd_list_features (char *command, cha
*** 1088,1094 ****
     Return <0 for error; >=0 for ok.
  
     args->action will tell mi_execute_command what action
!    to perfrom after the given command has executed (display/supress
     prompt, display error). */
  
  static void
--- 1088,1094 ----
     Return <0 for error; >=0 for ok.
  
     args->action will tell mi_execute_command what action
!    to perfrom after the given command has executed (display/suppress
     prompt, display error). */
  
  static void
*************** captured_mi_execute_command (struct ui_o
*** 1163,1169 ****
  	{
  	  /* Don't print the prompt. We are executing the target in
  	     synchronous mode.  */
! 	  args->action = EXECUTE_COMMAND_SUPRESS_PROMPT;
  	  return;
  	}
        break;
--- 1163,1169 ----
  	{
  	  /* Don't print the prompt. We are executing the target in
  	     synchronous mode.  */
! 	  args->action = EXECUTE_COMMAND_SUPPRESS_PROMPT;
  	  return;
  	}
        break;
*************** mi_execute_command (char *cmd, int from_
*** 1253,1259 ****
  				RETURN_MASK_ALL);
        exception_print (gdb_stderr, result);
  
!       if (args.action == EXECUTE_COMMAND_SUPRESS_PROMPT)
  	{
  	  /* The command is executing synchronously.  Bail out early
  	     suppressing the finished prompt.  */
--- 1253,1259 ----
  				RETURN_MASK_ALL);
        exception_print (gdb_stderr, result);
  
!       if (args.action == EXECUTE_COMMAND_SUPPRESS_PROMPT)
  	{
  	  /* The command is executing synchronously.  Bail out early
  	     suppressing the finished prompt.  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]