Muhammad,

Do you mean debugging the guest, or debugging gem5 itself?  I regularly do both, and it's been a very smooth, uncomplicated experience.  You debug gem5 just like any C++ application; it will launch under local gdb control.  Debugging the guest is slightly more involved, you need to set up a "remote target" Debug-Configuration in Eclipse CDT, because gem5 acts as a gdbserver, so you have to set the target IP to "localhost:7000".  But first, tell us which of the two kinds of debugging you are trying to do, (I find the overloading of terms, somewhat confusing).

-----"Muhammad Aamir via gem5-users" <[email protected]> wrote: -----
To: "gem5 users mailing list" <[email protected]>
From: "Muhammad Aamir via gem5-users" <[email protected]>
Date: 07/20/2020 07:25AM
Cc: "Muhammad Aamir" <[email protected]>
Subject: [gem5-users] How to use eclipse or any other IDE to debug user code in GEM5

Hi everyone,

I have been following this tutorial(http://www.m5sim.org/wiki/images/b/b2/Tsinghua%27s_Presentation_for_gem5_Workshop_2012.pdf) to integrate GEM5 to the eclipse debugger but I am not able to do it, maybe because the tutorial is quite old.

It would be really helpful if someone could teach or elaborate the steps on how to configure an IDE to use with GEM5. Or send me a link on how to integrate it.

Thanks.
_______________________________________________
gem5-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
_______________________________________________
gem5-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to