Use dwarf-2 debugging symbols (they work much better).
--HG-- extra : convert_revision : 669e4c32f2bc2c035a4199d6152a638b75a25148
This commit is contained in:
parent
7bab47ac3a
commit
55db48891c
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue