I am trying to edit some systemc kernel code to improve the performance of simulation. But I need to be able to debug the code by going through the symbols of each file, so I add --enable_debug option while configuring.
When I run the source code with -g option, I find that it is able to go and search the symbols of some files but not all. Like it is able to go inside sc_time.cpp if I use gdb but it is not able to go inside sc_simcontext.cpp where the main execute, update, notify phases occur.
Can anyone help me what wold be the best way to go about changing the systemc code and debugging it ?