• 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
setting breakpoints in gdb
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

setting breakpoints in gdb


  • Subject: setting breakpoints in gdb
  • From: Jack Howarth <email@hidden>
  • Date: Thu, 19 Nov 2009 10:48:45 -0500

   I am trying to set a breakpoint under darwin9 for
FSF gcc's libgcc in Apple's gdb in order to debug an
unwinder issue with ecjx. The stock FSF gcc build
doesn't run dsymutil on libgcc so I resorted to
doing that manually in the build directories to
create the missing .dSYM. However I am finding that
Apple's gdb is unable to find Unwind_RaiseException
in libgcc when I try to set a breakpoint in ecjx that
is linked to it (even when setting LD_LIBRARY_PATH
and DYLD_LIBRARY_PATH to make sure the dylib next
to the dSYM is found). I do see warnings when gdb
loads the ecjx executable that...

warning: Could not find object file "/sw/src/fink.build/gcc45-4.4.999-20091116/darwin_objdir/x86_64-apple-darwin9.8.0/libjava/.libs/libgcj.lax/libltdlc.a/ltdl.o" - no debug information available for "../../../../gcc-4.5-20091116/libjava/libltdl/ltdl.c".

despite the presence of a dSYM for libgcj in the build
directory.
   What is the expected behavior of Apple's gdb in this
case? If one has a program linked to shared libraries for
which not all of them have dSYM folders, one should be
able to set breakpoints for all of those libs for which
dSYM folders exist (correct)? Even if the calls in
question occur out of a shared lib which lacks the
dSYM, right? Or do you lose the ability to set break
points for subroutines if they are called from within
libs that are missing complete dSYMs?
           Jack
 _______________________________________________
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: setting breakpoints in gdb
      • From: Jim Ingham <email@hidden>
  • Prev by Date: Re: C++ std::string tries to free() a not allocated pointer ?
  • Next by Date: Re: C++ std::string tries to free() a not allocated pointer ?
  • Previous by thread: Re: Project templates & encoding
  • Next by thread: Re: setting breakpoints in gdb
  • Index(es):
    • Date
    • Thread