aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2018-07-06 10:41:24 +0200
committerBjörn Gustavsson <[email protected]>2018-07-06 10:41:24 +0200
commit4188cd5b4b511af979fe85ec9b87967a34bec02d (patch)
tree5693e4cf84f2ec0b01e8522bcf0904f58764d139 /erts
parenta409990bbe6bbe75be274161855e2f68a48100e6 (diff)
parent4f030fed221bdf86e23de8f5d4262ade5b717400 (diff)
downloadotp-4188cd5b4b511af979fe85ec9b87967a34bec02d.tar.gz
otp-4188cd5b4b511af979fe85ec9b87967a34bec02d.tar.bz2
otp-4188cd5b4b511af979fe85ec9b87967a34bec02d.zip
Merge branch 'bjorn/erts/fix-disassembler' into maint
* bjorn/erts/fix-disassembler: beam_debug: Fix printing of floating point registers
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/beam/beam_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/beam_debug.c b/erts/emulator/beam/beam_debug.c
index 6d3b99c43e..10d20c8f3f 100644
--- a/erts/emulator/beam/beam_debug.c
+++ b/erts/emulator/beam/beam_debug.c
@@ -667,7 +667,7 @@ print_op(fmtfn_t to, void *to_arg, int op, int size, BeamInstr* addr)
ap++;
break;
case 'l': /* fr(N) */
- erts_print(to, to_arg, "fr(%d)", loader_reg_index(ap[0]));
+ erts_print(to, to_arg, "fr(%d)", ap[0] / sizeof(FloatDef));
ap++;
break;
default: