This is the mail archive of the gdb-patches@sources.redhat.com 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/commit] infrun.c whitespace tweaks


2005-01-13  Michael Snyder  <msnyder@redhat.com>

	* infrun.c: Whitespace tweaks.

Index: infrun.c
===================================================================
RCS file: /cvs/src/src/gdb/infrun.c,v
retrieving revision 1.186
diff -p -r1.186 infrun.c
*** infrun.c	12 Jan 2005 18:31:31 -0000	1.186
--- infrun.c	14 Jan 2005 00:50:02 -0000
*************** process_event_stop_test:
*** 2199,2207 ****
       test for stepping.  But, if not stepping,
       do not stop.  */
  
!   /* Are we stepping to get the inferior out of the dynamic
!      linker's hook (and possibly the dld itself) after catching
!      a shlib event? */
    if (ecs->stepping_through_solib_after_catch)
      {
  #if defined(SOLIB_ADD)
--- 2199,2207 ----
       test for stepping.  But, if not stepping,
       do not stop.  */
  
!   /* Are we stepping to get the inferior out of the dynamic linker's
!      hook (and possibly the dld itself) after catching a shlib
!      event?  */
    if (ecs->stepping_through_solib_after_catch)
      {
  #if defined(SOLIB_ADD)
*************** Pass and Stop may be combined.", NULL));
*** 3817,3828 ****
  
    if (!dbx_commands)
      stop_command =
!       add_cmd ("stop", class_obscure, not_just_help_class_command, "There is no `stop' command, but you can set a hook on `stop'.\n\
  This allows you to set a list of commands to be run each time execution\n\
  of the program stops.", &cmdlist);
  
    add_set_cmd ("infrun", class_maintenance, var_zinteger,
! 		  &debug_infrun, "Set inferior debugging.\n\
  When non-zero, inferior specific debugging is enabled.", &setdebuglist);
  
    numsigs = (int) TARGET_SIGNAL_LAST;
--- 3817,3829 ----
  
    if (!dbx_commands)
      stop_command =
!       add_cmd ("stop", class_obscure, not_just_help_class_command, 
! 	       "There is no `stop' command, but you can set a hook on `stop'.\n\
  This allows you to set a list of commands to be run each time execution\n\
  of the program stops.", &cmdlist);
  
    add_set_cmd ("infrun", class_maintenance, var_zinteger,
! 	       &debug_infrun, "Set inferior debugging.\n\
  When non-zero, inferior specific debugging is enabled.", &setdebuglist);
  
    numsigs = (int) TARGET_SIGNAL_LAST;
*************** When non-zero, inferior specific debuggi
*** 3879,3885 ****
  		  "Set stopping for shared library events.\n\
  If nonzero, gdb will give control to the user when the dynamic linker\n\
  notifies gdb of shared library events.  The most common event of interest\n\
! to the user would be loading/unloading of a new library.\n", &setlist), &showlist);
  #endif
  
    c = add_set_enum_cmd ("follow-fork-mode",
--- 3880,3888 ----
  		  "Set stopping for shared library events.\n\
  If nonzero, gdb will give control to the user when the dynamic linker\n\
  notifies gdb of shared library events.  The most common event of interest\n\
! to the user would be loading/unloading of a new library.\n", 
! 		  &setlist), 
!      &showlist);
  #endif
  
    c = add_set_enum_cmd ("follow-fork-mode",
*************** The unfollowed process will continue to 
*** 3894,3907 ****
  By default, the debugger will follow the parent process.", &setlist);
    deprecated_add_show_from_set (c, &showlist);
  
!   c = add_set_enum_cmd ("scheduler-locking", class_run, scheduler_enums,	/* array of string names */
  			&scheduler_mode,	/* current mode  */
  			"Set mode for locking scheduler during execution.\n\
  off  == no locking (threads may preempt at any time)\n\
  on   == full locking (no thread except the current thread may run)\n\
  step == scheduler locked during every single-step operation.\n\
  	In this mode, no other thread may run during a step command.\n\
! 	Other threads may run while stepping over a function call ('next').", &setlist);
  
    set_cmd_sfunc (c, set_schedlock_func);	/* traps on target vector */
    deprecated_add_show_from_set (c, &showlist);
--- 3897,3912 ----
  By default, the debugger will follow the parent process.", &setlist);
    deprecated_add_show_from_set (c, &showlist);
  
!   c = add_set_enum_cmd ("scheduler-locking", class_run, 
! 			scheduler_enums,	/* array of string names */
  			&scheduler_mode,	/* current mode  */
  			"Set mode for locking scheduler during execution.\n\
  off  == no locking (threads may preempt at any time)\n\
  on   == full locking (no thread except the current thread may run)\n\
  step == scheduler locked during every single-step operation.\n\
  	In this mode, no other thread may run during a step command.\n\
! 	Other threads may run while stepping over a function call ('next').", 
! 			&setlist);
  
    set_cmd_sfunc (c, set_schedlock_func);	/* traps on target vector */
    deprecated_add_show_from_set (c, &showlist);

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