From 00c3bafe7d1b459494a60a76af8b068c9385b7e7 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Thu, 25 Feb 2021 19:20:11 -0500 Subject: [PATCH] Tests: With --gdbsim build with ggdb --- test_regress/driver.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/test_regress/driver.pl b/test_regress/driver.pl index 779b64ed2..48650baa1 100755 --- a/test_regress/driver.pl +++ b/test_regress/driver.pl @@ -896,6 +896,7 @@ sub compile_vlt_flags { unshift @verilator_flags, "--trace-threads 1" if $param{vltmt} && $checkflags =~ /-trace /; unshift @verilator_flags, "--trace-threads 2" if $param{vltmt} && $checkflags =~ /-trace-fst /; unshift @verilator_flags, "--debug-partition" if $param{vltmt}; + unshift @verilator_flags, "-CFLAGS -ggdb -LDFLAGS -ggdb" if $opt_gdbsim; unshift @verilator_flags, "-CFLAGS -fsanitize=address -LDFLAGS -fsanitize=address" if $param{sanitize}; unshift @verilator_flags, "--make gmake" if $param{verilator_make_gmake}; unshift @verilator_flags, "--make cmake" if $param{verilator_make_cmake};