diff options
author | Björn Gustavsson <[email protected]> | 2018-06-04 14:23:55 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2018-07-05 14:26:33 +0200 |
commit | 4f030fed221bdf86e23de8f5d4262ade5b717400 (patch) | |
tree | 9feedb1c7cbab8711adace25ce8cbec3fc396239 /erts | |
parent | 99789794474140049a1939c4e4789b28dfe80e49 (diff) | |
download | otp-4f030fed221bdf86e23de8f5d4262ade5b717400.tar.gz otp-4f030fed221bdf86e23de8f5d4262ade5b717400.tar.bz2 otp-4f030fed221bdf86e23de8f5d4262ade5b717400.zip |
beam_debug: Fix printing of floating point registers
Diffstat (limited to 'erts')
-rw-r--r-- | erts/emulator/beam/beam_debug.c | 2 |
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: |