File 1328-Improve-the-Last-calls-section-included-in-crash-dum.patch of Package erlang
From 6ed7d3edc553c6d8458e901e0c7dfd5d88d5f8ce Mon Sep 17 00:00:00 2001 From: Michal Slaski <michal.slaski@gmail.com> Date: Tue, 13 Apr 2021 06:31:04 +0200 Subject: [PATCH] Improve the 'Last calls' section included in crash dumps --- erts/emulator/beam/break.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/erts/emulator/beam/break.c b/erts/emulator/beam/break.c index 0ed287bc6d..5527b62211 100644 --- a/erts/emulator/beam/break.c +++ b/erts/emulator/beam/break.c @@ -348,11 +348,11 @@ print_process_info(fmtfn_t to, void *to_arg, Process *p, ErtsProcLocks orig_lock if (j < 0) j += scb->len; if (scb->ct[j] == &exp_send) - erts_print(to, to_arg, "send"); + erts_print(to, to_arg, "send\n"); else if (scb->ct[j] == &exp_receive) - erts_print(to, to_arg, "'receive'"); + erts_print(to, to_arg, "'receive'\n"); else if (scb->ct[j] == &exp_timeout) - erts_print(to, to_arg, "timeout"); + erts_print(to, to_arg, "timeout\n"); else erts_print(to, to_arg, "%T:%T/%bpu\n", scb->ct[j]->info.mfa.module, -- 2.26.2