From 273ed051840392c3861aa4746ee46b5dfacdeaec Mon Sep 17 00:00:00 2001 From: Thomas Nilefalk Date: Thu, 20 Jun 2024 12:57:39 +0200 Subject: [PATCH] [tests] Use CXREF_PROGRAM for debug targets --- tests/Makefile.boilerplate | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Makefile.boilerplate b/tests/Makefile.boilerplate index b52b06fd..093c2ce3 100644 --- a/tests/Makefile.boilerplate +++ b/tests/Makefile.boilerplate @@ -71,7 +71,7 @@ coverage: # Targets for debugging with gdb or lldb, so far only works for tests # that do not use the server driver gdb: - gdb $(CXREF) -ex 'br main' -ex 'run $(BASE_ARGUMENTS) $(ARGUMENTS)' + gdb $(CXREF_PROGRAM) -ex 'br main' -ex 'run $(BASE_ARGUMENTS) $(ARGUMENTS)' lldb: - lldb -o 'breakpoint set --name main' -o 'process launch -- $(BASE_ARGUMENTS) $(ARGUMENTS)' $(CXREF) + lldb -o 'breakpoint set --name main' -o 'process launch -- $(BASE_ARGUMENTS) $(ARGUMENTS)' $(CXREF_PROGRAM)