aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2005-01-14 00:51:43 +0000
committerMichael Snyder <msnyder@vmware.com>2005-01-14 00:51:43 +0000
commit9d1ff73f7b439932d16cdaa3a3bec70f0a71c3fc (patch)
treec1c6ec7e5c146abfb4a74464a8176806650921d5 /gdb
parent1f5d0fc991c544b3a17f730b104131850a18795a (diff)
downloadgdb-9d1ff73f7b439932d16cdaa3a3bec70f0a71c3fc.zip
gdb-9d1ff73f7b439932d16cdaa3a3bec70f0a71c3fc.tar.gz
gdb-9d1ff73f7b439932d16cdaa3a3bec70f0a71c3fc.tar.bz2
2005-01-13 Michael Snyder <msnyder@redhat.com>
* infrun.c: Whitespace tweaks.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog1
-rw-r--r--gdb/infrun.c21
2 files changed, 14 insertions, 8 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2b7f228..e5fb7e4 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,6 @@
2005-01-13 Michael Snyder <msnyder@redhat.com>
+ * infrun.c: Whitespace tweaks.
* infcmd.c: Whitespace tweaks.
* hpux-thread.c: Whitespace tweaks.
* hppa-hpux-tdep.c: Whitespace tweaks.
diff --git a/gdb/infrun.c b/gdb/infrun.c
index d68ab16..e740e19 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -2199,9 +2199,9 @@ process_event_stop_test:
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? */
+ /* 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)
@@ -3817,12 +3817,13 @@ Pass and Stop may be combined.", NULL));
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\
+ 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\
+ &debug_infrun, "Set inferior debugging.\n\
When non-zero, inferior specific debugging is enabled.", &setdebuglist);
numsigs = (int) TARGET_SIGNAL_LAST;
@@ -3879,7 +3880,9 @@ When non-zero, inferior specific debugging is enabled.", &setdebuglist);
"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);
+to the user would be loading/unloading of a new library.\n",
+ &setlist),
+ &showlist);
#endif
c = add_set_enum_cmd ("follow-fork-mode",
@@ -3894,14 +3897,16 @@ The unfollowed process will continue to run.\n\
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 */
+ 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);
+ 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);