- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using the gnu debugger with Intel Fortran for the first time. There are a number of mysteries, which may or may not be connected. My program is compiled with x86_64 and optimization -00. (OSX 10.5.2, Intel core duo 2, ifort 10.1.014)
In my /opt/intel/ folder there are only three folders: fc, fce, and idbe. Shouldn't there be an idb folder? If I select custom install in the install program the idb option does not show up (I checked versions 006,012 and 014).
I get this error when the debugger starts:
Loading program into debugger
GNU gdb 6.3.50-20050815 (Apple version gdb-768) (Tue Oct 2 04:07:49 UTC 2007)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-apple-darwin".tty /dev/ttys002
Program loaded.
sharedlibrary apply-load-rules all
warning: UUID mismatch detected between:
/DS2ForOpenMP/DS2Bg/build/Debug/DS2Bg
/DS2Bg/build/Debug/DS2Bg.dSYM/Contents/Resources/DWARF/DS2Bg...
=uuid-mismatch,file="/DS2Bg/build/Debug/DS2Bg",debug-file="/DS2Bg/build/Debug/DS2Bg.dSYM/Contents/Resources/DWARF/DS2Bg"
run
[Switching to process 81189 local thread 0x2f0b]
Running
And lastly, I cannot see any globals. Local variables are fine.
Any hints would be very much appreciated.
-Chuck
In my /opt/intel/ folder there are only three folders: fc, fce, and idbe. Shouldn't there be an idb folder? If I select custom install in the install program the idb option does not show up (I checked versions 006,012 and 014).
I get this error when the debugger starts:
Loading program into debugger
GNU gdb 6.3.50-20050815 (Apple version gdb-768) (Tue Oct 2 04:07:49 UTC 2007)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-apple-darwin".tty /dev/ttys002
Program loaded.
sharedlibrary apply-load-rules all
warning: UUID mismatch detected between:
/DS2ForOpenMP/DS2Bg/build/Debug/DS2Bg
/DS2Bg/build/Debug/DS2Bg.dSYM/Contents/Resources/DWARF/DS2Bg...
=uuid-mismatch,file="/DS2Bg/build/Debug/DS2Bg",debug-file="/DS2Bg/build/Debug/DS2Bg.dSYM/Contents/Resources/DWARF/DS2Bg"
run
[Switching to process 81189 local thread 0x2f0b]
Running
And lastly, I cannot see any globals. Local variables are fine.
Any hints would be very much appreciated.
-Chuck
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For Mac OS X running on a 64 bit platform, there is only idbe. On the Mac, this IDB can handle both 32bit and 64bit executables. Thus, we no longer install the 32bit-only debugger "idb" EXCEPT on older Core Solo and Core Duo Macs (these are strictly 32bit processors).
Remember on Mac OS X you need to use -save-temps on the compile line.
GDB, in general, is not very Fortran friendly. So I can't help you with GDB issues.
I use idbe from the command line for debug. It does not work within Xcode, unfortunately.
ron
Remember on Mac OS X you need to use -save-temps on the compile line.
GDB, in general, is not very Fortran friendly. So I can't help you with GDB issues.
I use idbe from the command line for debug. It does not work within Xcode, unfortunately.
ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just an FYI on gdb -- You can use gdb from the command line, and gdb is documented by Apple to work from within Xcode. Since Apple supports gdb use, you can get the best information and support on it from Apple, and the following links look like good places to start:
http://developer.apple.com/technotes/tn2004/tn2124.html
http://developer.apple.com/documentation/DeveloperTools/gdb/gdb/gdb_toc.html

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