aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2018-07-06 10:49:22 +0200
committerBjörn Gustavsson <[email protected]>2018-07-06 10:49:22 +0200
commit1d13ab8ebfc47f2cfdb344949d14ed8c10b0d6a8 (patch)
tree13c2c3cc8762f10d81164bee7d5cb83e56fac620 /erts
parent8de2daee2d38bb020973261130ede01ba0e3e097 (diff)
parent005e4720b46ca6e69c6b589038460a1311eeb073 (diff)
downloadotp-1d13ab8ebfc47f2cfdb344949d14ed8c10b0d6a8.tar.gz
otp-1d13ab8ebfc47f2cfdb344949d14ed8c10b0d6a8.tar.bz2
otp-1d13ab8ebfc47f2cfdb344949d14ed8c10b0d6a8.zip
Merge branch 'maint'
* maint: Call test_lib:recompile/1 from init_per_suite/1 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: