• 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 12:02:00 -0700

On Mar 28, 2008, at 11:48 AM, Chris Espinosa wrote:
Does /usr/bin/arch exist?

Yes:

[~] which arch
/usr/bin/arch
[~] /usr/bin/arch
i386
[~]

Another piece of info: If I uncheck "Start executable after starting debugging", so that I just get a gdb prompt, I get this output after typing "run". Same as before, but when it first tries to run my file it says "Not executing.", then does a "run" again, and then the original error.

[Session started at 2008-03-28 11:54:56 -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/ttys001
Program loaded.
sharedlibrary apply-load-rules all
(gdb) run
Starting program: /Users/dylan/myapp/build/Debug/myapp
Not executing.
(gdb) run
[Switching to process 1743 local thread 0x2f1b]
/bin/bash: line 0: exec: arch: not found
Running…




_______________________________________________
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: Jim Ingham <email@hidden>
References: 
 >GDB Problem (From: "Dylan Markow" <email@hidden>)
 >Re: GDB Problem (From: Chris Espinosa <email@hidden>)
 >Re: GDB Problem (From: "Dylan Markow" <email@hidden>)
 >Re: GDB Problem (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: GDB Problem
  • Next by Date: core data model from schema?
  • Previous by thread: Re: GDB Problem
  • Next by thread: Re: GDB Problem
  • Index(es):
    • Date
    • Thread