<promach_>
how do I build yosys with debug symbol on ?
<ZipCPU>
promach_: Hmmm ... maybe you want to set ENABLE_DEBUG to 1 within the project makefile?
<promach_>
ZipcPU: what about the other parameter ENABLE_NDEBUG ?
<ZipCPU>
Enable no debug
<ZipCPU>
In general, that gets rid of all of the internal assertions
<ZipCPU>
Haven't verified that for yosys tho
s_frit has quit [Remote host closed the connection]
s_frit has joined #yosys
rohitksingh has joined #yosys
rohitksingh has quit [Quit: Leaving.]
rohitksingh has joined #yosys
lutsabound has joined #yosys
<promach_>
strange, I have compiled and installed with ENABLE_DEBUG=1
<promach_>
but gdb yosys tells me that it does not find any debugging symbols
danieljabailey has joined #yosys
rohitksingh has quit [Quit: Leaving.]
emeb has joined #yosys
leviathanch has joined #yosys
folknology has joined #yosys
rohitksingh has joined #yosys
maikmerten has quit [Remote host closed the connection]
<promach_>
ZipCPU: using macro define , integer do not work for me
<promach_>
the only feasible solution is to use the exact number as it is in the second argument field of $past()
m_t has quit [Read error: Connection reset by peer]
<cr1901_modern>
promach_: Re: your confusion about NDEBUG and DEBUG, the C standard has a header called assert.h; the C standard also defines the macro "NDEBUG" to make the functionality of assert.h a no-op.
<cr1901_modern>
NDEBUG is therefore not related to enabling debug symbols
rohitksingh has quit [Quit: Leaving.]
lutsabound has quit [Quit: Connection closed for inactivity]
lutsabound has joined #yosys
AlexDaniel has quit [Read error: Connection reset by peer]
AlexDaniel has joined #yosys
AlexDaniel has quit [Read error: Connection reset by peer]
AlexDaniel has joined #yosys
AlexDaniel has quit [Read error: Connection reset by peer]
promach_ has quit [Ping timeout: 268 seconds]
cemerick has joined #yosys
cemerick has quit [Ping timeout: 252 seconds]
dys has quit [Ping timeout: 252 seconds]
X-Scale has quit [Ping timeout: 252 seconds]
X-Scale has joined #yosys
rohitksingh has joined #yosys
dys has joined #yosys
rohitksingh has quit [Quit: Leaving.]
<lutsabound>
Promach: try running using the yosys binary found within the build directory. Then gdb should be able to find the symbols