Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2022-10-28 15:43:54 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2022-10-28 18:03:36 +0300
commit4a67f89ced019f540714964ece4374a6f5e112d8 (patch)
tree7d2205f8e52661e04e089f016b7882a48fd60eb5
parent3e80956d63eb26c40d05ecc44990b157a44db99a (diff)
Cygwin: Tidy up formatting of stackdump
Resize stackdump headers for b9e97f58 Consistently use \r\n line endings
-rw-r--r--winsup/cygwin/exceptions.cc6
1 files 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);
}