Skip to content

Commit

Permalink
Merge branch 'bjorn/erts/fix-crashdump'
Browse files Browse the repository at this point in the history
* bjorn/erts/fix-crashdump:
  Fix printing of arities in crashdumps on Windows
  • Loading branch information
bjorng committed Aug 15, 2023
2 parents 3168fcf + c3def33 commit 212db5a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions erts/emulator/beam/break.c
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ print_process_info(fmtfn_t to, void *to_arg, Process *p, ErtsProcLocks orig_lock
erts_print(to, to_arg, "Spawned as: %T:%T/%bpu\n",
p->u.initial.module,
p->u.initial.function,
p->u.initial.arity);
(Uint)p->u.initial.arity);

if (p->current != NULL) {
if (running) {
Expand All @@ -305,7 +305,7 @@ print_process_info(fmtfn_t to, void *to_arg, Process *p, ErtsProcLocks orig_lock
erts_print(to, to_arg, "%T:%T/%bpu\n",
p->current->module,
p->current->function,
p->current->arity);
(Uint)p->current->arity);
}

erts_print(to, to_arg, "Spawned by: %T\n",
Expand Down Expand Up @@ -366,7 +366,7 @@ print_process_info(fmtfn_t to, void *to_arg, Process *p, ErtsProcLocks orig_lock
erts_print(to, to_arg, "%T:%T/%bpu\n",
scb->ct[j]->info.mfa.module,
scb->ct[j]->info.mfa.function,
scb->ct[j]->info.mfa.arity);
(Uint)scb->ct[j]->info.mfa.arity);
}
erts_print(to, to_arg, "\n");
}
Expand Down

0 comments on commit 212db5a

Please sign in to comment.