Re: GDB Problem
Re: GDB Problem
- Subject: Re: GDB Problem
- From: Chris Espinosa <email@hidden>
- Date: Fri, 28 Mar 2008 09:41:58 -0700
On Mar 28, 2008, at 8:50 AM, Dylan Markow wrote:
I'm running Xcode 3.0 on Leopard 10.5.2 and am having problems
debugging anything (in this case, a simple Hello, World! app.)
Specifically, the "/bin/bash: line 0...." line at the bottom. I can
manually go to the build/Debug directory for my app and run "gdb
myapp" and it works fine.
I tried completely removing Xcode/Developer Tools using the included
script, rebooting, and reinstalling Xcode 3.0 from scratch, but I'm
still having problems. This is on my 1st-gen Intel iMac. My macbook
with an identical setup works perfectly fine.
[Session started at 2008-03-28 08:41:30 -0700.]
Loading program into debugger…
GNU gdb 6.3.50-20050815 (Apple version gdb-768) (Tue Oct 2 04:07:49
UTC 2007)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i386-apple-darwin".tty /dev/ttys000
Program loaded.
sharedlibrary apply-load-rules all
run
[Switching to process 933 local thread 0x2f0f]
/bin/bash: line 0: exec: arch: not found
Running…
What architectures is your target built for?
What's the setting of Project > Active Architecture?
I suspect you're trying to execute an architecture your target's not
built for.
Chris _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >GDB Problem (From: "Dylan Markow" <email@hidden>) |