This is the mail archive of the 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 Wed, Nov 6, 2013 at 12:44 AM, Tristan Gingold <> wrote:
> On Nov 5, 2013, at 4:45 PM, Gabriel Perdue <> 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 <>
>> 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:
>> <>...
>> 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 :-(

This isn't going to be a clang issue (given I use fsf-gdb all the time
with it), more an OSX issue. I'd try avoiding dSYM files first and see
where that gets you.


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