public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Cygwin: Tidy up formatting of stackdump
@ 2022-10-29 17:34 Jon TURNEY
0 siblings, 0 replies; only message in thread
From: Jon TURNEY @ 2022-10-29 17:34 UTC (permalink / raw)
To: cygwin-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=4a67f89ced019f540714964ece4374a6f5e112d8
commit 4a67f89ced019f540714964ece4374a6f5e112d8
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date: Fri Oct 28 13:43:54 2022 +0100
Cygwin: Tidy up formatting of stackdump
Resize stackdump headers for b9e97f58
Consistently use \r\n line endings
Diff:
---
winsup/cygwin/exceptions.cc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index e6f868511..a15bc16c5 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -342,7 +342,7 @@ cygwin_exception::dumpstack ()
int i;
thestack.init (framep, 1, ctx); /* Initialize from the input CONTEXT */
- small_printf ("Stack trace:\r\nFrame Function Args\r\n");
+ small_printf ("Stack trace:\r\nFrame Function Args\r\n");
for (i = 0; i < DUMPSTACK_FRAME_LIMIT && thestack++; i++)
{
small_printf ("%012X %012X", thestack.sf.AddrFrame.Offset,
@@ -352,9 +352,9 @@ cygwin_exception::dumpstack ()
thestack.sf.Params[j]);
small_printf (")\r\n");
}
- small_printf ("End of stack trace%s\n",
+ small_printf ("End of stack trace%s\r\n",
i == DUMPSTACK_FRAME_LIMIT ?
- " (more stack frames may be present)" : "");
+ " (more stack frames may be present)" : "");
if (h)
NtClose (h);
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-10-29 17:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-29 17:34 [newlib-cygwin] Cygwin: Tidy up formatting of stackdump Jon TURNEY
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).