- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am porting legacy c applications from tru64 to LINUX. I need to debug some of these codes and am stumbling along trying to understand the debuggers I can use. I was told INTEL no longer uses idb, but gdb-ia. I assume that's a gnu debugger used on an INTEL platform.
I have created a simple c application called Helloworld. I want to debug the application. When attempting to debug the simple application, the following occurs:
$>gdb-ia helloworld
$>ImportError: No module named site
or
$>gdb-ia /home/hdjm/project/hello/helloworld
$>ImportError: No module named site
I downloaded a gdb.pdf and searched for the error and got no hits. Can anyone help with this?
- Tags:
- CC++
- Development Tools
- Intel® C++ Compiler
- Intel® Parallel Studio XE
- Intel® System Studio
- Optimization
- Parallel Computing
- Vectorization
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm not having any luck posting on this platform!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Same problem here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've never heard of gdb-ia. Does gdb work as expected? Since the Intel compiler and GNU compiler are object layout compatible I don't think there's a need for a special debugger.
Judy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Do you have proper installation of python on that machine? if not then regular gdb might also fail.
it looks that gdb-ia is trying to load some python pretty printers, for example, <path_to_gcc>/lib64/libstdc++.so.6.0.18-gdb.py, but python fails.
More details: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/developer_guide/debuggingprettyprinters
--Vladimir

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page