From 24301e7396ffc7d39b70e4ed1f1c2ed2a1b53bf9 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Wed, 24 Dec 2014 10:00:07 -0500 Subject: [PATCH] debug tests: Change -dwarf-2 to -g in tests Makefile -gdwarf-2 was added specifically when the default debug format was stabs, to force using the DWARF format. It is irrelevant nowadays, and we want to let the compiler choose the DWARF version it prefers. Change-Id: I300fab09b492704ca3d3a61446b8dd0ce36167c2 Signed-off-by: Simon Marchi Reviewed-on: https://git.eclipse.org/r/38766 Tested-by: Hudson CI Reviewed-by: Marc Khouzam Tested-by: Marc Khouzam --- .../org.eclipse.cdt.tests.dsf.gdb/data/launch/src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/data/launch/src/Makefile b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/data/launch/src/Makefile index dd5f5c7bc35..7e36aaaa45a 100644 --- a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/data/launch/src/Makefile +++ b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/data/launch/src/Makefile @@ -12,8 +12,8 @@ COREFILE = $(BINDIR)/core CC = gcc CXX = g++ -CFLAGS = -gdwarf-2 -CXXFLAGS = -gdwarf-2 +CFLAGS = -g +CXXFLAGS = -g # Don't try to use pthread on Windows # The OS environment variable exists on Windows