]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[gdb/selftest] Fix 'help_doc_invariants' self-test
authorEli Zaretskii <eliz@gnu.org>
Sat, 4 Jan 2025 10:13:04 +0000 (12:13 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 4 Jan 2025 10:13:04 +0000 (12:13 +0200)
  Running selftest help_doc_invariants.
  help doc broken invariant: command 'signal-event' help doc has over-long line
  Self test failed: self-test failed at unittests/command-def-selftests.c:121

  The reason is that doc string of 'signal-event' doesn't have
  newlines at end of its line.  Fix by adding newlines.

gdb/windows-nat.c

index a93e546d358dfd90ea343bd210bd4871e990e1f6..2fd943ea9730b6ea0e142faf2cf657c89767964b 100644 (file)
@@ -3114,9 +3114,9 @@ _initialize_windows_nat ()
 
   add_com ("signal-event", class_run, signal_event_command, _("\
 Signal a crashed process with event ID, to allow its debugging.\n\
-This command is needed in support of setting up GDB as JIT debugger on \
-MS-Windows.  The command should be invoked from the GDB command line using \
-the '-ex' command-line option.  The ID of the event that blocks the \
+This command is needed in support of setting up GDB as JIT debugger on\n\
+MS-Windows.  The command should be invoked from the GDB command line using\n\
+the '-ex' command-line option.  The ID of the event that blocks the\n\
 crashed process will be supplied by the Windows JIT debugging mechanism."));
 
 #ifdef __CYGWIN__