• 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
Self-built gdb-768 fails
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Self-built gdb-768 fails


  • Subject: Self-built gdb-768 fails
  • From: Jonas Maebe <email@hidden>
  • Date: Fri, 4 Jan 2008 23:10:32 +0100

Hello,

I can't build a working gdb-768 from the posted sources (on a MacBook, Mac OS X 10.5.1, with only Xcode 3.0 installed). Everything builds fine, but the resulting gdb cannot start any programs (the used test program here is a simple C program compiled by gcc; stabs or dwarf makes no difference):

***
$ /Data/dev/darwin/10.5/gdb-768/src/gdb/gdb tgeta
GNU gdb 6.3.50.20050815-cvs (Fri Jan 4 21:37:32 UTC 2008)
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 "--host=i686-apple-darwin9.1.0 -- target="...Reading symbols for shared libraries ... done


(gdb) b main
Breakpoint 1 at 0x1fe8: file tgeta.c, line 5.
(gdb) r
Starting program: /Data/dev/fpc/test/tgeta
Unable to find Mach task port for process-id 80985: (os/kern) failure (0x5).
***


The crash report that pops up shows this:

***
Process:         bash [80985]
Path:            /bin/bash
Identifier:      bash
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  gdb [80984]

Date/Time:       2008-01-04 23:01:50.382 +0100
OS Version:      Mac OS X 10.5.1 (9B18)
Report Version:  6

Exception Type:  EXC_CRASH (SIGTRAP)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread:  0

Thread 0 Crashed:

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x00000000  ebx: 0x00000000  ecx: 0x00000000  edx: 0x90f55cae
  edi: 0x00000000  esi: 0x00000000  ebp: 0x00000000  esp: 0xbffff528
   ss: 0x0000001f  efl: 0x00000200  eip: 0x8fe01010   cs: 0x00000017
   ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000000
  cr2: 0xbffff6b5

Binary Images:
0x8fe00000 - 0x8fe2d883 dyld 95.3 (???) <3896c718b33f3e065e199a659baf1a2b> /usr/lib/dyld
***


The way I built it:

tar xzf gdb-768.tar.gz
cd gdb-768
./configure
make

The same procedure worked fine for at least gdb-563 under Mac OS X 10.4. The gdb shipped with Xcode 3.0 also works fine.

Does it work for anyone else?


Jonas _______________________________________________ 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: Self-built gdb-768 fails
      • From: Peter O'Gorman <email@hidden>
    • Re: Self-built gdb-768 fails
      • From: Jonas Maebe <email@hidden>
  • Prev by Date: Re: IB Doesn't Get Renamed Action in Custom Class
  • Next by Date: Re: Self-built gdb-768 fails
  • Previous by thread: Re: "No location found for ..."
  • Next by thread: Re: Self-built gdb-768 fails
  • Index(es):
    • Date
    • Thread