History log of /openbsd-current/sys/arch/amd64/amd64/db_disasm.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.25 06-Jun-2024 bluhm

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@


Revision tags: OPENBSD_7_4_BASE OPENBSD_7_5_BASE
# 1.24 22-Apr-2023 guenther

Teach the disassembler about xrstors, xsavec, and xsaves

ok mlarkin@


# 1.23 10-Apr-2023 jsg

spelling


Revision tags: OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE
# 1.22 11-Sep-2020 mpi

Include <sys/systm.h> directly instead of relying on hidden UVM includes.

The header is being pulled via db_machdep.h -> uvm_extern.h -> uvm_map.h


Revision tags: OPENBSD_6_7_BASE
# 1.21 10-Nov-2019 mpi

TRUE/FALSE conversions missed in previous.


# 1.20 07-Nov-2019 mpi

Convert db_addr_t -> vaddr_t but leave the typedef for now.


# 1.19 06-Nov-2019 mpi

Substitute boolean_t/TRUE/FALSE by int/1/0.

ok dlg@, jasper@


Revision tags: OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.18 07-Dec-2017 deraadt

correct indentation


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.17 05-Mar-2017 guenther

Teach the ddb disassembler about most of the vm* instructions

ok mlarkin@


Revision tags: OPENBSD_6_0_BASE
# 1.16 03-Apr-2016 guenther

Teach ddb's disassembler about {rd,wr}[fg]sbase

ok mpi@


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.15 24-Jun-2015 miod

Uninitialized variables; pedro@


# 1.14 14-Mar-2015 jsg

Remove some includes include-what-you-use claims don't
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.

ok tedu@ deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.13 14-Sep-2014 jsg

remove uneeded proc.h includes
ok mpi@ kspillner@


Revision tags: OPENBSD_5_6_BASE
# 1.12 11-Mar-2014 guenther

Synchronize the i386 and amd64 ddb disassemblers and add support
for many newer instructions.

With feedback from jsg@


Revision tags: OPENBSD_5_5_BASE
# 1.11 19-Nov-2013 guenther

format string fixes picked up with -Wformat=2

ok deraadt@


# 1.10 02-Oct-2013 sf

Format string fixes
- cast void * before using as %s
- imm2 is int


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
# 1.9 06-Oct-2008 chl

remove dead stores and newly created unused variables.

Found by LLVM/Clang Static Analyzer.

ok weingart@


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.8 05-Nov-2007 miod

temporary ddb buffers need to be a bit larger on 64 bit systems to cope with
some radix configurations.


# 1.7 01-Sep-2007 miod

Use db_format() instead of ddb-specific format specifiers; no functional
change inteded.
ok ray@


Revision tags: OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.6 15-Jan-2007 jsg

ansi/deregister


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE
# 1.5 26-Jun-2004 andreas

pop is quad in 64-bit mode


# 1.4 24-Jun-2004 andreas

A little better but still work in progress.


# 1.3 24-Jun-2004 andreas

Work in progress, early check-in requested by niklas@


Revision tags: OPENBSD_3_5_BASE SMP_SYNC_A SMP_SYNC_B
# 1.2 28-Feb-2004 deraadt

copy from i386, no changes yet


# 1.1 28-Jan-2004 mickey

branches: 1.1.2;
an amd64 arch support.
hacked by art@ from netbsd sources and then later debugged
by me into the shape where it can host itself.
no bootloader yet as needs redoing from the
recent advanced i386 sources (anyone? ;)


# 1.24 22-Apr-2023 guenther

Teach the disassembler about xrstors, xsavec, and xsaves

ok mlarkin@


# 1.23 10-Apr-2023 jsg

spelling


Revision tags: OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE
# 1.22 11-Sep-2020 mpi

Include <sys/systm.h> directly instead of relying on hidden UVM includes.

The header is being pulled via db_machdep.h -> uvm_extern.h -> uvm_map.h


Revision tags: OPENBSD_6_7_BASE
# 1.21 10-Nov-2019 mpi

TRUE/FALSE conversions missed in previous.


# 1.20 07-Nov-2019 mpi

Convert db_addr_t -> vaddr_t but leave the typedef for now.


# 1.19 06-Nov-2019 mpi

Substitute boolean_t/TRUE/FALSE by int/1/0.

ok dlg@, jasper@


Revision tags: OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.18 07-Dec-2017 deraadt

correct indentation


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.17 05-Mar-2017 guenther

Teach the ddb disassembler about most of the vm* instructions

ok mlarkin@


Revision tags: OPENBSD_6_0_BASE
# 1.16 03-Apr-2016 guenther

Teach ddb's disassembler about {rd,wr}[fg]sbase

ok mpi@


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.15 24-Jun-2015 miod

Uninitialized variables; pedro@


# 1.14 14-Mar-2015 jsg

Remove some includes include-what-you-use claims don't
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.

ok tedu@ deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.13 14-Sep-2014 jsg

remove uneeded proc.h includes
ok mpi@ kspillner@


Revision tags: OPENBSD_5_6_BASE
# 1.12 11-Mar-2014 guenther

Synchronize the i386 and amd64 ddb disassemblers and add support
for many newer instructions.

With feedback from jsg@


Revision tags: OPENBSD_5_5_BASE
# 1.11 19-Nov-2013 guenther

format string fixes picked up with -Wformat=2

ok deraadt@


# 1.10 02-Oct-2013 sf

Format string fixes
- cast void * before using as %s
- imm2 is int


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
# 1.9 06-Oct-2008 chl

remove dead stores and newly created unused variables.

Found by LLVM/Clang Static Analyzer.

ok weingart@


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.8 05-Nov-2007 miod

temporary ddb buffers need to be a bit larger on 64 bit systems to cope with
some radix configurations.


# 1.7 01-Sep-2007 miod

Use db_format() instead of ddb-specific format specifiers; no functional
change inteded.
ok ray@


Revision tags: OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.6 15-Jan-2007 jsg

ansi/deregister


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE
# 1.5 26-Jun-2004 andreas

pop is quad in 64-bit mode


# 1.4 24-Jun-2004 andreas

A little better but still work in progress.


# 1.3 24-Jun-2004 andreas

Work in progress, early check-in requested by niklas@


Revision tags: OPENBSD_3_5_BASE SMP_SYNC_A SMP_SYNC_B
# 1.2 28-Feb-2004 deraadt

copy from i386, no changes yet


# 1.1 28-Jan-2004 mickey

branches: 1.1.2;
an amd64 arch support.
hacked by art@ from netbsd sources and then later debugged
by me into the shape where it can host itself.
no bootloader yet as needs redoing from the
recent advanced i386 sources (anyone? ;)


# 1.23 10-Apr-2023 jsg

spelling


Revision tags: OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE
# 1.22 11-Sep-2020 mpi

Include <sys/systm.h> directly instead of relying on hidden UVM includes.

The header is being pulled via db_machdep.h -> uvm_extern.h -> uvm_map.h


Revision tags: OPENBSD_6_7_BASE
# 1.21 10-Nov-2019 mpi

TRUE/FALSE conversions missed in previous.


# 1.20 07-Nov-2019 mpi

Convert db_addr_t -> vaddr_t but leave the typedef for now.


# 1.19 06-Nov-2019 mpi

Substitute boolean_t/TRUE/FALSE by int/1/0.

ok dlg@, jasper@


Revision tags: OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.18 07-Dec-2017 deraadt

correct indentation


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.17 05-Mar-2017 guenther

Teach the ddb disassembler about most of the vm* instructions

ok mlarkin@


Revision tags: OPENBSD_6_0_BASE
# 1.16 03-Apr-2016 guenther

Teach ddb's disassembler about {rd,wr}[fg]sbase

ok mpi@


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.15 24-Jun-2015 miod

Uninitialized variables; pedro@


# 1.14 14-Mar-2015 jsg

Remove some includes include-what-you-use claims don't
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.

ok tedu@ deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.13 14-Sep-2014 jsg

remove uneeded proc.h includes
ok mpi@ kspillner@


Revision tags: OPENBSD_5_6_BASE
# 1.12 11-Mar-2014 guenther

Synchronize the i386 and amd64 ddb disassemblers and add support
for many newer instructions.

With feedback from jsg@


Revision tags: OPENBSD_5_5_BASE
# 1.11 19-Nov-2013 guenther

format string fixes picked up with -Wformat=2

ok deraadt@


# 1.10 02-Oct-2013 sf

Format string fixes
- cast void * before using as %s
- imm2 is int


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
# 1.9 06-Oct-2008 chl

remove dead stores and newly created unused variables.

Found by LLVM/Clang Static Analyzer.

ok weingart@


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.8 05-Nov-2007 miod

temporary ddb buffers need to be a bit larger on 64 bit systems to cope with
some radix configurations.


# 1.7 01-Sep-2007 miod

Use db_format() instead of ddb-specific format specifiers; no functional
change inteded.
ok ray@


Revision tags: OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.6 15-Jan-2007 jsg

ansi/deregister


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE
# 1.5 26-Jun-2004 andreas

pop is quad in 64-bit mode


# 1.4 24-Jun-2004 andreas

A little better but still work in progress.


# 1.3 24-Jun-2004 andreas

Work in progress, early check-in requested by niklas@


Revision tags: OPENBSD_3_5_BASE SMP_SYNC_A SMP_SYNC_B
# 1.2 28-Feb-2004 deraadt

copy from i386, no changes yet


# 1.1 28-Jan-2004 mickey

branches: 1.1.2;
an amd64 arch support.
hacked by art@ from netbsd sources and then later debugged
by me into the shape where it can host itself.
no bootloader yet as needs redoing from the
recent advanced i386 sources (anyone? ;)


# 1.22 11-Sep-2020 mpi

Include <sys/systm.h> directly instead of relying on hidden UVM includes.

The header is being pulled via db_machdep.h -> uvm_extern.h -> uvm_map.h


Revision tags: OPENBSD_6_7_BASE
# 1.21 10-Nov-2019 mpi

TRUE/FALSE conversions missed in previous.


# 1.20 07-Nov-2019 mpi

Convert db_addr_t -> vaddr_t but leave the typedef for now.


# 1.19 06-Nov-2019 mpi

Substitute boolean_t/TRUE/FALSE by int/1/0.

ok dlg@, jasper@


Revision tags: OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.18 07-Dec-2017 deraadt

correct indentation


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.17 05-Mar-2017 guenther

Teach the ddb disassembler about most of the vm* instructions

ok mlarkin@


Revision tags: OPENBSD_6_0_BASE
# 1.16 03-Apr-2016 guenther

Teach ddb's disassembler about {rd,wr}[fg]sbase

ok mpi@


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.15 24-Jun-2015 miod

Uninitialized variables; pedro@


# 1.14 14-Mar-2015 jsg

Remove some includes include-what-you-use claims don't
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.

ok tedu@ deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.13 14-Sep-2014 jsg

remove uneeded proc.h includes
ok mpi@ kspillner@


Revision tags: OPENBSD_5_6_BASE
# 1.12 11-Mar-2014 guenther

Synchronize the i386 and amd64 ddb disassemblers and add support
for many newer instructions.

With feedback from jsg@


Revision tags: OPENBSD_5_5_BASE
# 1.11 19-Nov-2013 guenther

format string fixes picked up with -Wformat=2

ok deraadt@


# 1.10 02-Oct-2013 sf

Format string fixes
- cast void * before using as %s
- imm2 is int


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
# 1.9 06-Oct-2008 chl

remove dead stores and newly created unused variables.

Found by LLVM/Clang Static Analyzer.

ok weingart@


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.8 05-Nov-2007 miod

temporary ddb buffers need to be a bit larger on 64 bit systems to cope with
some radix configurations.


# 1.7 01-Sep-2007 miod

Use db_format() instead of ddb-specific format specifiers; no functional
change inteded.
ok ray@


Revision tags: OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.6 15-Jan-2007 jsg

ansi/deregister


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE
# 1.5 26-Jun-2004 andreas

pop is quad in 64-bit mode


# 1.4 24-Jun-2004 andreas

A little better but still work in progress.


# 1.3 24-Jun-2004 andreas

Work in progress, early check-in requested by niklas@


Revision tags: OPENBSD_3_5_BASE SMP_SYNC_A SMP_SYNC_B
# 1.2 28-Feb-2004 deraadt

copy from i386, no changes yet


# 1.1 28-Jan-2004 mickey

branches: 1.1.2;
an amd64 arch support.
hacked by art@ from netbsd sources and then later debugged
by me into the shape where it can host itself.
no bootloader yet as needs redoing from the
recent advanced i386 sources (anyone? ;)


# 1.21 10-Nov-2019 mpi

TRUE/FALSE conversions missed in previous.


# 1.20 07-Nov-2019 mpi

Convert db_addr_t -> vaddr_t but leave the typedef for now.


# 1.19 06-Nov-2019 mpi

Substitute boolean_t/TRUE/FALSE by int/1/0.

ok dlg@, jasper@


Revision tags: OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.18 07-Dec-2017 deraadt

correct indentation


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.17 05-Mar-2017 guenther

Teach the ddb disassembler about most of the vm* instructions

ok mlarkin@


Revision tags: OPENBSD_6_0_BASE
# 1.16 03-Apr-2016 guenther

Teach ddb's disassembler about {rd,wr}[fg]sbase

ok mpi@


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.15 24-Jun-2015 miod

Uninitialized variables; pedro@


# 1.14 14-Mar-2015 jsg

Remove some includes include-what-you-use claims don't
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.

ok tedu@ deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.13 14-Sep-2014 jsg

remove uneeded proc.h includes
ok mpi@ kspillner@


Revision tags: OPENBSD_5_6_BASE
# 1.12 11-Mar-2014 guenther

Synchronize the i386 and amd64 ddb disassemblers and add support
for many newer instructions.

With feedback from jsg@


Revision tags: OPENBSD_5_5_BASE
# 1.11 19-Nov-2013 guenther

format string fixes picked up with -Wformat=2

ok deraadt@


# 1.10 02-Oct-2013 sf

Format string fixes
- cast void * before using as %s
- imm2 is int


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
# 1.9 06-Oct-2008 chl

remove dead stores and newly created unused variables.

Found by LLVM/Clang Static Analyzer.

ok weingart@


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.8 05-Nov-2007 miod

temporary ddb buffers need to be a bit larger on 64 bit systems to cope with
some radix configurations.


# 1.7 01-Sep-2007 miod

Use db_format() instead of ddb-specific format specifiers; no functional
change inteded.
ok ray@


Revision tags: OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.6 15-Jan-2007 jsg

ansi/deregister


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE
# 1.5 26-Jun-2004 andreas

pop is quad in 64-bit mode


# 1.4 24-Jun-2004 andreas

A little better but still work in progress.


# 1.3 24-Jun-2004 andreas

Work in progress, early check-in requested by niklas@


Revision tags: OPENBSD_3_5_BASE SMP_SYNC_A SMP_SYNC_B
# 1.2 28-Feb-2004 deraadt

copy from i386, no changes yet


# 1.1 28-Jan-2004 mickey

branches: 1.1.2;
an amd64 arch support.
hacked by art@ from netbsd sources and then later debugged
by me into the shape where it can host itself.
no bootloader yet as needs redoing from the
recent advanced i386 sources (anyone? ;)


# 1.20 07-Nov-2019 mpi

Convert db_addr_t -> vaddr_t but leave the typedef for now.


# 1.19 06-Nov-2019 mpi

Substitute boolean_t/TRUE/FALSE by int/1/0.

ok dlg@, jasper@


Revision tags: OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.18 07-Dec-2017 deraadt

correct indentation


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.17 05-Mar-2017 guenther

Teach the ddb disassembler about most of the vm* instructions

ok mlarkin@


Revision tags: OPENBSD_6_0_BASE
# 1.16 03-Apr-2016 guenther

Teach ddb's disassembler about {rd,wr}[fg]sbase

ok mpi@


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.15 24-Jun-2015 miod

Uninitialized variables; pedro@


# 1.14 14-Mar-2015 jsg

Remove some includes include-what-you-use claims don't
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.

ok tedu@ deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.13 14-Sep-2014 jsg

remove uneeded proc.h includes
ok mpi@ kspillner@


Revision tags: OPENBSD_5_6_BASE
# 1.12 11-Mar-2014 guenther

Synchronize the i386 and amd64 ddb disassemblers and add support
for many newer instructions.

With feedback from jsg@


Revision tags: OPENBSD_5_5_BASE
# 1.11 19-Nov-2013 guenther

format string fixes picked up with -Wformat=2

ok deraadt@


# 1.10 02-Oct-2013 sf

Format string fixes
- cast void * before using as %s
- imm2 is int


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
# 1.9 06-Oct-2008 chl

remove dead stores and newly created unused variables.

Found by LLVM/Clang Static Analyzer.

ok weingart@


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.8 05-Nov-2007 miod

temporary ddb buffers need to be a bit larger on 64 bit systems to cope with
some radix configurations.


# 1.7 01-Sep-2007 miod

Use db_format() instead of ddb-specific format specifiers; no functional
change inteded.
ok ray@


Revision tags: OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.6 15-Jan-2007 jsg

ansi/deregister


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE
# 1.5 26-Jun-2004 andreas

pop is quad in 64-bit mode


# 1.4 24-Jun-2004 andreas

A little better but still work in progress.


# 1.3 24-Jun-2004 andreas

Work in progress, early check-in requested by niklas@


Revision tags: OPENBSD_3_5_BASE SMP_SYNC_A SMP_SYNC_B
# 1.2 28-Feb-2004 deraadt

copy from i386, no changes yet


# 1.1 28-Jan-2004 mickey

branches: 1.1.2;
an amd64 arch support.
hacked by art@ from netbsd sources and then later debugged
by me into the shape where it can host itself.
no bootloader yet as needs redoing from the
recent advanced i386 sources (anyone? ;)


# 1.19 06-Nov-2019 mpi

Substitute boolean_t/TRUE/FALSE by int/1/0.

ok dlg@, jasper@


Revision tags: OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.18 07-Dec-2017 deraadt

correct indentation


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.17 05-Mar-2017 guenther

Teach the ddb disassembler about most of the vm* instructions

ok mlarkin@


Revision tags: OPENBSD_6_0_BASE
# 1.16 03-Apr-2016 guenther

Teach ddb's disassembler about {rd,wr}[fg]sbase

ok mpi@


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.15 24-Jun-2015 miod

Uninitialized variables; pedro@


# 1.14 14-Mar-2015 jsg

Remove some includes include-what-you-use claims don't
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.

ok tedu@ deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.13 14-Sep-2014 jsg

remove uneeded proc.h includes
ok mpi@ kspillner@


Revision tags: OPENBSD_5_6_BASE
# 1.12 11-Mar-2014 guenther

Synchronize the i386 and amd64 ddb disassemblers and add support
for many newer instructions.

With feedback from jsg@


Revision tags: OPENBSD_5_5_BASE
# 1.11 19-Nov-2013 guenther

format string fixes picked up with -Wformat=2

ok deraadt@


# 1.10 02-Oct-2013 sf

Format string fixes
- cast void * before using as %s
- imm2 is int


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
# 1.9 06-Oct-2008 chl

remove dead stores and newly created unused variables.

Found by LLVM/Clang Static Analyzer.

ok weingart@


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.8 05-Nov-2007 miod

temporary ddb buffers need to be a bit larger on 64 bit systems to cope with
some radix configurations.


# 1.7 01-Sep-2007 miod

Use db_format() instead of ddb-specific format specifiers; no functional
change inteded.
ok ray@


Revision tags: OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.6 15-Jan-2007 jsg

ansi/deregister


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE
# 1.5 26-Jun-2004 andreas

pop is quad in 64-bit mode


# 1.4 24-Jun-2004 andreas

A little better but still work in progress.


# 1.3 24-Jun-2004 andreas

Work in progress, early check-in requested by niklas@


Revision tags: OPENBSD_3_5_BASE SMP_SYNC_A SMP_SYNC_B
# 1.2 28-Feb-2004 deraadt

copy from i386, no changes yet


# 1.1 28-Jan-2004 mickey

branches: 1.1.2;
an amd64 arch support.
hacked by art@ from netbsd sources and then later debugged
by me into the shape where it can host itself.
no bootloader yet as needs redoing from the
recent advanced i386 sources (anyone? ;)


# 1.18 07-Dec-2017 deraadt

correct indentation


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.17 05-Mar-2017 guenther

Teach the ddb disassembler about most of the vm* instructions

ok mlarkin@


Revision tags: OPENBSD_6_0_BASE
# 1.16 03-Apr-2016 guenther

Teach ddb's disassembler about {rd,wr}[fg]sbase

ok mpi@


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.15 24-Jun-2015 miod

Uninitialized variables; pedro@


# 1.14 14-Mar-2015 jsg

Remove some includes include-what-you-use claims don't
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.

ok tedu@ deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.13 14-Sep-2014 jsg

remove uneeded proc.h includes
ok mpi@ kspillner@


Revision tags: OPENBSD_5_6_BASE
# 1.12 11-Mar-2014 guenther

Synchronize the i386 and amd64 ddb disassemblers and add support
for many newer instructions.

With feedback from jsg@


Revision tags: OPENBSD_5_5_BASE
# 1.11 19-Nov-2013 guenther

format string fixes picked up with -Wformat=2

ok deraadt@


# 1.10 02-Oct-2013 sf

Format string fixes
- cast void * before using as %s
- imm2 is int


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
# 1.9 06-Oct-2008 chl

remove dead stores and newly created unused variables.

Found by LLVM/Clang Static Analyzer.

ok weingart@


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.8 05-Nov-2007 miod

temporary ddb buffers need to be a bit larger on 64 bit systems to cope with
some radix configurations.


# 1.7 01-Sep-2007 miod

Use db_format() instead of ddb-specific format specifiers; no functional
change inteded.
ok ray@


Revision tags: OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.6 15-Jan-2007 jsg

ansi/deregister


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE
# 1.5 26-Jun-2004 andreas

pop is quad in 64-bit mode


# 1.4 24-Jun-2004 andreas

A little better but still work in progress.


# 1.3 24-Jun-2004 andreas

Work in progress, early check-in requested by niklas@


Revision tags: OPENBSD_3_5_BASE SMP_SYNC_A SMP_SYNC_B
# 1.2 28-Feb-2004 deraadt

copy from i386, no changes yet


# 1.1 28-Jan-2004 mickey

branches: 1.1.2;
an amd64 arch support.
hacked by art@ from netbsd sources and then later debugged
by me into the shape where it can host itself.
no bootloader yet as needs redoing from the
recent advanced i386 sources (anyone? ;)