From 9bc042a41baeca9130a74ae33a1477752ba60f08 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 4 Jan 2025 12:13:04 +0200 Subject: [PATCH] [gdb/selftest] Fix 'help_doc_invariants' self-test 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. (cherry picked from commit c1023d95672cfd293fd84556baf899713955ee50) --- gdb/windows-nat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index a93e546d358..2fd943ea973 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -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__