Use dwarf-2 debugging symbols (they work much better).
--HG-- extra : convert_revision : 669e4c32f2bc2c035a4199d6152a638b75a25148
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user