Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
1182-BEAM-disassembler-Correct-printout-of-W-op...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 1182-BEAM-disassembler-Correct-printout-of-W-operands.patch of Package erlang
From 6fe1996af121986b6f402d1c0282387c3d8a4b8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= <bjorn@erlang.org> Date: Wed, 18 Jan 2023 16:17:30 +0100 Subject: [PATCH 2/3] BEAM disassembler: Correct printout of W operands --- erts/emulator/beam/beam_debug.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/erts/emulator/beam/beam_debug.c b/erts/emulator/beam/beam_debug.c index 5ba3da5f51..cf962e301a 100644 --- a/erts/emulator/beam/beam_debug.c +++ b/erts/emulator/beam/beam_debug.c @@ -624,7 +624,11 @@ print_op(fmtfn_t to, void *to_arg, int op, int size, BeamInstr* addr) } break; default: +#ifdef ARCH_64 + erts_print(to, to_arg, "%ld", *ap); +#else erts_print(to, to_arg, "%d", *ap); +#endif } ap++; break; -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor