This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdb darwin target on Linux host?


On 10/20/10 8:24 AM, Peter Steiner wrote:
ok - but the packaged Apple darwin gdb (shipped with my install) CAN
read the native binaries. So, what is the difference? Another/patched
libbfd used by Apple?

(e.g. http://www.opensource.apple.com/tarballs/gdb/gdb-1469.tar.gz
gdb version is 6.3.50.20050815-cvs)

"Patched" is, shall we say, an understatement. :-)


however I do not want to debug natively (or my question here would be
pointless), I want to cross-debug using a Linux host.

So, uh, once you get the executable read in, how exactly do you expect to remote-control execution from Linux-land? Is there a Darwin GDBserver or equivalent that I don't know of? There is a kernel debugging setup, but it's not useful for apps.


Stan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]