summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2006-04-24 16:55:31 -0400
committerKevin Lim <ktlim@umich.edu>2006-04-24 16:55:31 -0400
commit55db48891c6d60d50f4f96c2e31f5281c23ed41f (patch)
tree6273fd72b0bf852e89242f5c69b3b5cc1a7ab3b6
parent7bab47ac3a70c0f2ad3f38ee1c67fd1364eff042 (diff)
downloadgem5-55db48891c6d60d50f4f96c2e31f5281c23ed41f.tar.xz
Use dwarf-2 debugging symbols (they work much better).
--HG-- extra : convert_revision : 669e4c32f2bc2c035a4199d6152a638b75a25148
-rw-r--r--SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConscript b/SConscript
index 062661557..5546e6f71 100644
--- a/SConscript
+++ b/SConscript
@@ -381,7 +381,7 @@ env.Append(CPPPATH='./libelf')
# Debug binary
debugEnv = env.Copy(OBJSUFFIX='.do')
debugEnv.Label = 'debug'
-debugEnv.Append(CCFLAGS=Split('-g -gstabs+ -O0'))
+debugEnv.Append(CCFLAGS=Split('-g -gdwarf-2 -O0'))
debugEnv.Append(CPPDEFINES='DEBUG')
tlist = debugEnv.Program(target = 'm5.debug',
source = make_objs(sources, debugEnv))