Thread: Using the terminal
11-26-2007, 07:32 PM #1
Using the terminal
- Member Since
- Aug 11, 2007
I am trying to use GDB from the terminal to debug a CORE file.
How do I get a program to run in the terminal, do I need to set any paths to it?
I have moved the GDB folders into my HD Mac root, gotten to it using 'cd', but when trying to use the application by calling 'gdb' I get unknown command.
Any ideas or help would be great!
11-26-2007, 10:48 PM #2
You can either put it in your path (best) or cd to it's dir and type ./GDB.
The ./ tells Bash to run something in the dir you're in instead of looking in the path.Delusions are often functional. A motherís opinions about her childrenís beauty, intelligence, goodness, et cetera ad nauseam, keep her from drowning them at birth.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By yoandrew in forum OS X - Operating SystemReplies: 4Last Post: 12-29-2012, 09:20 AM
By gts1117 in forum OS X - Operating SystemReplies: 2Last Post: 08-20-2012, 09:25 AM
By LMCLUMD in forum OS X - Development and DarwinReplies: 1Last Post: 06-15-2011, 04:08 AM
By alcohol in forum OS X - Operating SystemReplies: 10Last Post: 04-10-2011, 12:35 PM
By mayflyTR in forum OS X - Operating SystemReplies: 3Last Post: 08-22-2010, 05:56 PM