Fix call instruction disassembler in ddb.
authorbluhm <bluhm@openbsd.org>
Thu, 6 Jun 2024 12:36:41 +0000 (12:36 +0000)
committerbluhm <bluhm@openbsd.org>
Thu, 6 Jun 2024 12:36:41 +0000 (12:36 +0000)
commitd59d26dc3a67d2c6e4c1410792eb934b7d2d0d6e
tree3823d61ea28bab2f895802184f598a2f1ef7ccda
parentb6a9c519f92dfae089b645d66e81f8c90e11ec8b
Fix call instruction disassembler in ddb.

Disassembling the amd64 call instruction in ddb produced wrong
output.  The operand of e8 is only 4 bytes long, not 8.  The shown
address was off by 4 bytes.  Following instructions were interpreted
incorrectly.

OK guenther@
sys/arch/amd64/amd64/db_disasm.c