• 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: Xcode 2.5; gdb doesn't support -arch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 2.5; gdb doesn't support -arch


  • Subject: Re: Xcode 2.5; gdb doesn't support -arch
  • From: Alexander von Below <email@hidden>
  • Date: Fri, 9 Nov 2007 18:24:57 +0100

I am not sure if the warning isn't actually a bug. Have you tried if it works?

If it does not work, you can specific what you want directly (/usr/bin/ gdb is merely a script)

Instead of using -arch i386, you can directly call:

/usr/libexec/gdb/gdb-i386-apple-darwin

Alex

Am 09.11.2007 um 18:14 schrieb Timothy Standing:

I was really excited to have a new version of Xcode to use after a year of dealing with the bugs in 2.4.1. All the problems I had with Xcode failing to open a class browser which included all the NS classes, the debugger window failing to show the variables pane and numerous other bugs seemed to be fixed. Then I started tracking down a kernel panic in my kext only to discover that gdb in Xcode 2.5 doesn't appear to support the -arch option. When I type:

gdb -arch i386 /KDKs/10.4.10.i386/mach_kernel

I get:

warning: --arch option not supported in this gdb.

	Is there a new way of specifying the architecture for the target Mac?

	Tim Standing
	SoftRAID, LLC
_______________________________________________
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

_______________________________________________ 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: 
 >Xcode 2.5; gdb doesn't support -arch (From: Timothy Standing <email@hidden>)

  • Prev by Date: Xcode 2.5; gdb doesn't support -arch
  • Next by Date: Re: Anybody really, really using Xcode 3 ?
  • Previous by thread: Xcode 2.5; gdb doesn't support -arch
  • Next by thread: Re: Anybody really, really using Xcode 3 ?
  • Index(es):
    • Date
    • Thread