amd64/86487: DDB disassembler broken on amd64

Nate Eldredge nge at
Thu Sep 22 23:10:05 PDT 2005

>Number:         86487
>Category:       amd64
>Synopsis:       DDB disassembler broken on amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-amd64
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 23 06:10:04 GMT 2005
>Originator:     Nate Eldredge
>Release:        FreeBSD 5.4-RELEASE-p7 amd64
System: FreeBSD vulcan.lan 5.4-RELEASE-p7 FreeBSD 5.4-RELEASE-p7 #3: Tue Sep 20 16:12:19 PDT 2005 nate at vulcan.lan:/usr/obj/usr/src/sys/VULCAN amd64

The amd64 disassembler in DDB is rather poor.  For instance, it does not
comprehend the REX prefix which is used on all 64-bit instructions.
They instead get decoded as "inc" and "dec".  This makes the
disassembly useless, and the debugger hard to use.




More information about the freebsd-amd64 mailing list