- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have an executable generated by ifort (ver 19.0.0.117). The program runs just fine (on my Mac).
file feap
recognizes the executable as:
feap: Mach-O 64-bit executable x86_64
When I try to debug the executable, however, I run into the following error
gdb-ia ./feap
BFD: /Users/sg/Feap/ver85/main/feap: unknown load command 0x32
BFD: /Users/sg/Feap/ver85/main/feap: unknown load command 0x32
"/Users/sg/Feap/ver85/main/./feap": not in executable format: File format not recognized
The version of gdg-ia is
GNU gdb (GDB) 8.0.1.19.0748cc768c+5410f4dfd7+0000000000+820b7381b8
Copyright (C) 2017 Free Software Foundation, Inc.; (C) 2018 Intel Corp.
What have I missed?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think you use the Xcode debugger, not gdb.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the hint. I had tried /usr/bin/lldb but that had also failed. However /Applications/Xcode.app/Contents/Developer/usr/bin/lldb does work. Now I have to unlearn gdb syntax and learn lldb snytax :|

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