Results 1 to 2 of 2
  1. #1


    Member Since
    Aug 11, 2007
    Posts
    82
    Using the terminal
    Hi

    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!

    Thanks

  2. #2

    cradom's Avatar
    Member Since
    Feb 14, 2004
    Location
    Groves, Texas
    Posts
    4,560
    Specs:
    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.
    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.
    -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, 09:20 AM
  2. Terminal Help?
    By gts1117 in forum OS X - Operating System
    Replies: 2
    Last Post: 08-20-2012, 09:25 AM
  3. Terminal Help
    By LMCLUMD in forum OS X - Development and Darwin
    Replies: 1
    Last Post: 06-15-2011, 04:08 AM
  4. help!! terminal os 10.5.8
    By alcohol in forum OS X - Operating System
    Replies: 10
    Last Post: 04-10-2011, 12:35 PM
  5. using terminal
    By mayflyTR in forum OS X - Operating System
    Replies: 3
    Last Post: 08-22-2010, 05: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
  •