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 on Mac OSX 10.8.5 with Xcode 5


On Nov 5, 2013, at 4:45 PM, Gabriel Perdue <gnperdue@gmail.com> wrote:

> Hello,
> 
> I am running Max OSX 10.8.5 and Xcode 5. installed the Xcode command line tools and then installed gdb and cgdb using home-brew (since apparently Apple no longer keeps gdb around). I jumped through all the code-signing hoops. When I run gdb though, I have this happen:
> 
> GNU gdb (GDB) 7.6.1
> Copyright (C) 2013 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-apple-darwin12.5.0".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from /Users/perdue/Dropbox/Programming/Euler/Code/C/problem014/euler
> 014_pthr...Reading symbols from /Users/perdue/Dropbox/Programming/Euler/Code/C/probl
> em014/euler014_pthr.dSYM/Contents/Resources/DWARF/euler014_pthr...done.
> done.
> (gdb) break main
> Breakpoint 1 at 0x100000969: file euler014_pthr.c, line 27.
> (gdb) set args 1
> (gdb) run
> Starting program: /Users/perdue/Dropbox/Programming/Euler/Code/C/problem014/./euler0
> 14_pthr 1
> 
> ... and it just hangs there forever (it never gets to the first breakpoint). Any ideas what might be going wrong?

I have never tested fsf-gdb with clang.  So no ideas :-(

Tristan.


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