diff options
author | Björn Gustavsson <[email protected]> | 2018-07-06 10:41:24 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2018-07-06 10:41:24 +0200 |
commit | 4188cd5b4b511af979fe85ec9b87967a34bec02d (patch) | |
tree | 5693e4cf84f2ec0b01e8522bcf0904f58764d139 /erts | |
parent | a409990bbe6bbe75be274161855e2f68a48100e6 (diff) | |
parent | 4f030fed221bdf86e23de8f5d4262ade5b717400 (diff) | |
download | otp-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.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: |