foss-for-synopsys-dwc-arc-processors / toolchain

Repository containing releases of prebuilt GNU toolchains for DesignWare ARC Processors from Synopsys (available from "releases" link below).
http://www.synopsys.com/IP/ProcessorIP/ARCProcessors/Pages/default.aspx
GNU General Public License v3.0
92 stars 48 forks source link

How to debug archs36 dual core simultaneously #601

Closed 111yyyu closed 7 months ago

111yyyu commented 7 months ago

How to dual-core debug ARCHS36 in ARC GNU IDE 2023.03 Eclipse environment. In other words, how to specify a core for debugging? Currently, it is found that after selecting the Development system: Custom configuration file in the IDE, the Target Core cannot be selected. How can I solve this problem? debug_cfg_custom

abrodkin commented 7 months ago

@111yyyu what you're asking is adding support for simultaneous debugging of the multicore system, right? In that case adding any kind of script won't help. That's because interactive debugging of the multicore systems requires special handling of multiple instances of all views/menus at the same time. Think of 2 separate "registers" or "instruction trace" views, ability to set break-pont specifically for a certain core of the cluster etc. That functionality is not currently supported by ARC GNU IDE and we have no plans for adding that. But since plugin which is used for creation of ARC GNU IDE from Eclise CDT is available in sources (https://github.com/foss-for-synopsys-dwc-arc-processors/arc_gnu_eclipse), you're free to add required functionality yourself.

111yyyu commented 6 months ago

@abrodkin Thanks for reply!