New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

OS 10.4 - Using the terminal


Post Reply New Thread Subscribe

 
Thread Tools
jakenoble

 
Member Since: Aug 11, 2007
Posts: 82
jakenoble is on a distinguished road

jakenoble is offline
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
QUOTE Thanks
cradom

 
cradom's Avatar
 
Member Since: Feb 14, 2004
Location: Nederland, Texas
Posts: 3,083
cradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant future
Mac Specs: 21in iMac core2 Duo- 13in macbook - 10.9 on both

cradom is offline
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.

Craig Domingue - resident redneck.
Never argue with an idiot. He will only bring you down to his level and beat you with experience., George Carlin
QUOTE Thanks

Post Reply New Thread Subscribe


« Mac Os X is controlling my iTunes? | G5 black screen error »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Terminal problems please help CliveO OS X - Operating System 6 03-20-2007 10:04 AM
Terminal Problem WROC OS X - Apps and Games 5 01-09-2007 04:01 PM
Problem with terminal, always runs Fink task at startup thomanil OS X - Operating System 3 07-03-2005 05:00 PM
Terminal Help rs2sensen OS X - Apps and Games 1 04-25-2005 10:52 PM
Terminal nbizm 3 for the price of 1 Bo Eddy OS X - Development and Darwin 5 05-04-2004 12:40 PM

All times are GMT -4. The time now is 02:14 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?