Results 1 to 2 of 2
  1. #1

    Member Since
    Aug 11, 2007
    Using the terminal

    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!


  2. #2

    cradom's Avatar
    Member Since
    Feb 14, 2004
    Groves, Texas
    21in. iMac 10.11 --- HP Linux Mint 18
    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.
    One manís theology is another manís belly laugh.
    -Lazarus Long

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Month in Terminal is in Russian - only in Terminal!
    By yoandrew in forum OS X - Operating System
    Replies: 4
    Last Post: 12-29-2012, 10:20 AM
  2. Terminal Help?
    By gts1117 in forum OS X - Operating System
    Replies: 2
    Last Post: 08-20-2012, 10:25 AM
  3. Terminal Help
    By LMCLUMD in forum OS X - Development and Darwin
    Replies: 1
    Last Post: 06-15-2011, 05:08 AM
  4. help!! terminal os 10.5.8
    By alcohol in forum OS X - Operating System
    Replies: 10
    Last Post: 04-10-2011, 01:35 PM
  5. using terminal
    By mayflyTR in forum OS X - Operating System
    Replies: 3
    Last Post: 08-22-2010, 06:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts