- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
On linux, I debug with the following steps:
icx main.c -o myprogram -debug -O0
gdb-oneapi myprogram
I have tried this procedure on windows
icx.exe main.c -o myprogram.exe /debug /Z7
gdb-oneapi.exe myprogram.exe
But it says "no symbols loaded". Is there a way I can use gdb-oneapi on windows, on a binary compiled with icl.exe or icx.exe?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for posting in Intel Communities.
We were able to reproduce your issue. We are working on this internally.
We will get back to you soon.
Thanks and Regards,
Pendyala Sesha Srinivas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We suggest you use the Visual Studio debugger to debug the C/C++ applications.
On the Windows platform, the Intel C/C++ compiler is compatible with the Microsoft toolchain. Please refer to the below link.
And thus emits debugging information in a format compatible with Visual Studio and the VS debugger. This format is not supported by gdb-oneapi.
On Windows, gdb-oneapi provides Visual Studio integration that supports debugging of code offloaded to a GPU. Please refer to the below link.
You can refer to the below links for more information.
Thanks and Regards,
Pendyala Sesha Srinivas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Has the information provided above helped? If yes, could you please confirm whether we can close this thread from our end?
Thanks and Regards,
Pendyala Sesha Srinivas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Yes. This information was very helpful. The thread can be closed.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for the confirmation. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel
Thanks and Regards,
Pendyala Sesha Srinivas
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page