[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
how do I start octave under gdb?
From: |
roumbaba |
Subject: |
how do I start octave under gdb? |
Date: |
Wed, 27 May 2009 16:11:44 -0700 (PDT) |
Hi I am ttrying to debug a .oct in octave. The following post says that I
need to run octave under gdb:
http://www.nabble.com/How-to-debug-.oct-file-to9222108.html#a9222109
I can't get 'gdb octave' to work because the file points to a script and not
an executable:
"/usr/bin/octave": not in executable format: File format not recognized
I opened the script and apparently the file:
/Applications/Octave.app/Contents/Resources/bin/octave-3.0.1 is the one to
call.
But when I try to run 'gdb
/Applications/Octave.app/Contents/Resources/bin/octave-3.0.1' I then get
unfound libraries errors:
Starting program:
/Applications/Octave.app/Contents/Resources/bin/octave-3.0.1
dyld: Library not loaded:
/tmp/dependencies-ppc/lib/octave-3.0.1/liboctinterp.dylib
Referenced from:
/Applications/Octave.app/Contents/Resources/bin/octave-3.0.1
Reason: image not found
Program received signal SIGTRAP, Trace/breakpoint trap.
0x8fe05fc4 in __dyld__ZN4dyld5_mainEPK11mach_headeriPPKcS5_S5_ ()
i am running os X 10.4.11 on a g4 ppc
Thanks
--
View this message in context:
http://www.nabble.com/how-do-I-start-octave-under-gdb--tp23752506p23752506.html
Sent from the Octave - General mailing list archive at Nabble.com.
- how do I start octave under gdb?,
roumbaba <=