Skip to content

Commit

Permalink
[tests] Use CXREF_PROGRAM for debug targets
Browse files Browse the repository at this point in the history
  • Loading branch information
thoni56 committed Jun 20, 2024
1 parent a87c773 commit 273ed05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Makefile.boilerplate
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 273ed05

Please sign in to comment.