Jump to content
david.docteur

[GDB] Unable to access debug data

Recommended Posts

Hi guys,

I am having some trouble with GDB and the SystemC library. I have searched for similar topics but couldn't find anything relevant.

Here is the case:

I have a message_queue.hpp which inherits from a message_queue_if.h interface and the message_queue_if.h inherits from sc_core::sc_module.

When I use the SystemC library (debug version), I do have access to the debug data (gdb and Eclipse) for the members
from my message_queue.hpp AND message_queue_if.h files.

But when I use the release version of SystemC, I have access only to the members in my message_queue .hpp file.
The debug data for my interface (message_queue_if.h) shows : <No data fields> within GDB.

 

Here is the output:

 

Debug: $1 = {<cf_core::cf_message_queue_if> = {<sc_core::sc_module> = <cf_core::cf_multiple_wait_if> .......


Release: $1 = {<cf_core::cf_message_queue_if> = {<No data fields>} ....


Is it because gdb lacks of symbols for the SystemC library ?

Thank you for your help.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×