From 635400b2c122ce6ba3b2c61e026fb6c592684804 Mon Sep 17 00:00:00 2001 From: Anton Lindqvist Date: Tue, 19 Nov 2024 05:50:42 +0000 Subject: Add amd64 ddb regress suite allowing the disassembler to be tested from userspace. --- regress/sys/arch/amd64/ddb/Makefile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 regress/sys/arch/amd64/ddb/Makefile (limited to 'regress/sys/arch/amd64/ddb/Makefile') diff --git a/regress/sys/arch/amd64/ddb/Makefile b/regress/sys/arch/amd64/ddb/Makefile new file mode 100644 index 00000000000..483d24693fc --- /dev/null +++ b/regress/sys/arch/amd64/ddb/Makefile @@ -0,0 +1,26 @@ +# $OpenBSD: Makefile,v 1.1 2024/11/19 05:50:41 anton Exp $ + +.if "${MACHINE_ARCH}" == "amd64" + +SRCS+= disasm.c +SRCS+= stubs.c +SRCS+= db_disasm.c +SRCS+= db_output.c +SRCS+= db_sym.c +PROG= disasm + +CPPFLAGS+= -D_KERNEL +CPPFLAGS+= -I${.CURDIR}/../../../../../sys +WARNINGS= yes + +.PATH: ${.CURDIR}/../../../../../sys/arch/amd64/amd64 +.PATH: ${.CURDIR}/../../../../../sys/ddb + +.else + +regress: + @echo SKIPPED + +.endif + +.include -- cgit v1.2.3