• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: GDB Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GDB Problem


  • Subject: Re: GDB Problem
  • From: "Dylan Markow" <email@hidden>
  • Date: Fri, 28 Mar 2008 11:42:41 -0700

On Fri, Mar 28, 2008 at 9:41 AM, Chris Espinosa <email@hidden> wrote:
>
>
>  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

i386, it's the only option. I can take the exact same Xcode project,
stick it on my macbook, and it'll debug fine. I can reinstall leopard
from scratch on my iMac, but I'd rather not do that if there's another
way around this.
 _______________________________________________
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

  • Follow-Ups:
    • Re: GDB Problem
      • From: Chris Espinosa <email@hidden>
References: 
 >GDB Problem (From: "Dylan Markow" <email@hidden>)
 >Re: GDB Problem (From: Chris Espinosa <email@hidden>)

  • Prev by Date: NSLog and Console?
  • Next by Date: Re: GDB Problem
  • Previous by thread: Re: GDB Problem
  • Next by thread: Re: GDB Problem
  • Index(es):
    • Date
    • Thread