aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcmd.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2024-04-16 19:13:39 +0300
committerEli Zaretskii <eliz@gnu.org>2024-04-16 19:13:39 +0300
commit6a2dbb742dc5aa18bc7995f7af55fb6e74c3ae4a (patch)
treecbd90c49ee38662481e598708d36ec3dc75f03aa /gdb/infcmd.c
parent3f6a060c7543332d0cb4377fc318e2db01ea1d3c (diff)
downloadgdb-6a2dbb742dc5aa18bc7995f7af55fb6e74c3ae4a.zip
gdb-6a2dbb742dc5aa18bc7995f7af55fb6e74c3ae4a.tar.gz
gdb-6a2dbb742dc5aa18bc7995f7af55fb6e74c3ae4a.tar.bz2
Remove excess whitespace from doc strings of some commands
I've noticed that doc strings of some commands, like "set cwd" and "set inferior-tty", have some excess whitespace, which makes them display with unexpected indentation, at least in a Windows command prompt window. This patch fixes that. * gdb/linux-nat.c (_initialize_linux_nat): * gdb/riscv-tdep.c (riscv_insn): * gdb/top.c (quit_force): * gdb/infcmd.c (_initialize_infcmd): Remove excess whitespace.
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r--gdb/infcmd.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 600c90c..10a964a 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -3093,10 +3093,10 @@ _initialize_infcmd ()
/* Add the filename of the terminal connected to inferior I/O. */
auto tty_set_show
= add_setshow_optional_filename_cmd ("inferior-tty", class_run, _("\
-Set terminal for future runs of program being debugged."), _(" \
-Show terminal for future runs of program being debugged."), _(" \
-Usage: set inferior-tty [TTY]\n\n \
-If TTY is omitted, the default behavior of using the same terminal as GDB\n \
+Set terminal for future runs of program being debugged."), _("\
+Show terminal for future runs of program being debugged."), _("\
+Usage: set inferior-tty [TTY]\n\n\
+If TTY is omitted, the default behavior of using the same terminal as GDB\n\
is restored."),
set_tty_value,
get_tty_value,
@@ -3117,8 +3117,8 @@ Follow this command with any number of args, to be passed to the program."),
auto cwd_set_show
= add_setshow_string_noescape_cmd ("cwd", class_run, _("\
-Set the current working directory to be used when the inferior is started.\n \
-Changing this setting does not have any effect on inferiors that are\n \
+Set the current working directory to be used when the inferior is started.\n\
+Changing this setting does not have any effect on inferiors that are\n\
already running."),
_("\
Show the current working directory that is used when the inferior is started."),