• 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 problems and version
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GDB problems and version


  • Subject: Re: GDB problems and version
  • From: Christian Thalinger <email@hidden>
  • Date: Sun, 19 Jul 2009 17:32:56 +0200

Jim Ingham wrote:
> Ah, I see.  That's not all that surprising, the code that reads the
> dyld shared library information comes from the original NeXT gdb and
> predated the solib stuff that was added (originally for Solaris, IIRC)
> so the two are completely separate implementations.  Merging those two
> bits was always a big pain when we did imports FROM the FSF codebase,
> so I wouldn't be at all surprised if nobody bothered to merge that
> stuff back in.
>
> The code would be in the files
>
> src/gdb/macosx/macosx-nat-dyld*.{c,h}

Just for the record (will also file a bug report), this just happened:

[ 0 ] /usr/libexec/gdb/gdb-i386-apple-darwin (align_down+0x0) [0x122300]
[ 1 ] /usr/libexec/gdb/gdb-i386-apple-darwin (wrap_here+0x0) [0x1225f8]
[ 2 ] /usr/libexec/gdb/gdb-i386-apple-darwin
(dyld_remove_objfile_internal+0xc7) [0x16f527]
[ 3 ] /usr/libexec/gdb/gdb-i386-apple-darwin
(dyld_remove_objfiles+0x18c) [0x17161a]
[ 4 ] /usr/libexec/gdb/gdb-i386-apple-darwin (dyld_update_shlibs+0x94)
[0x1717c8]
[ 5 ] /usr/libexec/gdb/gdb-i386-apple-darwin (macosx_dyld_update+0x105)
[0x168d0a]
[ 6 ] /usr/libexec/gdb/gdb-i386-apple-darwin (macosx_dyld_init+0x4a7)
[0x169c07]
[ 7 ] /usr/libexec/gdb/gdb-i386-apple-darwin
(macosx_dyld_create_inferior_hook+0x54) [0x16a200]
[ 8 ] /usr/libexec/gdb/gdb-i386-apple-darwin
(macosx_child_create_inferior+0xc7) [0x17b70d]
[ 9 ] /usr/libexec/gdb/gdb-i386-apple-darwin (run_command_1+0x27c) [0x6627c]
[ 10 ] /usr/libexec/gdb/gdb-i386-apple-darwin (execute_command+0x2cb)
[0x11ef6f]
[ 11 ] /usr/libexec/gdb/gdb-i386-apple-darwin (command_handler+0xdb)
[0x81278]
[ 12 ] /usr/libexec/gdb/gdb-i386-apple-darwin
(command_line_handler+0x46b) [0x81969]
/SourceCache/gdb/gdb-966/src/gdb/macosx/macosx-nat-dyld-process.c:1930:
internal-error: assertion failure in function
"dyld_remove_objfile_internal": dyld_objfile_allocated (e->objfile)


-- Christian
 _______________________________________________
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: 
 >GDB problems and version (From: Christian Thalinger <email@hidden>)
 >Re: GDB problems and version (From: Christian Thalinger <email@hidden>)
 >Re: GDB problems and version (From: Jim Ingham <email@hidden>)
 >Re: GDB problems and version (From: Christian Thalinger <email@hidden>)
 >Re: GDB problems and version (From: Jim Ingham <email@hidden>)
 >Re: GDB problems and version (From: Christian Thalinger <email@hidden>)
 >Re: GDB problems and version (From: Jim Ingham <email@hidden>)

  • Prev by Date: Re: Distribution Cert/Prov Problems, "A valid signing identity matching this profile could not be found in your keychain"
  • Next by Date: unable to read symbols for ""
  • Previous by thread: Re: GDB problems and version
  • Next by thread: Re: GDB problems and version
  • Index(es):
    • Date
    • Thread