On Mon, May 19, 2014 at 3:01 PM, Brian Anderson <bander...@mozilla.com> wrote:
> The exact versions of the tooling here is pretty important - our ability to
> support debugging is extremely version dependent, especially when it comes
> to lldb.
>
> On mac I believe we are not putting any particular effort into supporting
> gdb at this point since lldb is the future. Newer lldb's work better than
> older, and lldb support is still a WIP.
>
>

At the moment you may wish to make sure that you emit dwarf2 era dwarf
for osx if you aren't. lldb has some problems with various dwarf3+
constructs. I'm not sure if the OP is running into one of those
things, I'll pay attention to the thread and see what pops up.

-eric

>
> On 05/19/2014 02:54 PM, Isaac Hollander McCreery wrote:
>
> Hi Ricardo,
>
> Can you provide more information about how it fails?
>
> OS X 10.9 no longer ships with gdb, instead preferring lldb, (the whole
> system has shifted over to LLVM's ecosystem, e.g. clang instead of gcc).
> Have you tried lldb?
>
> Regards,
> Ike
>
>
> On Mon, May 19, 2014 at 5:43 PM, Ricardo Brandão <rbrandao...@gmail.com>
> wrote:
>>
>> Hi All,
>>
>> Today I've tried to use gdb to debug rust programs.
>>
>> I compiled with -g: rustc -g hello.rs
>>
>> and ran gdb hello
>>
>> On Ubuntu it worked fine, but in Mac (OS 10.8) doesn't. Anyone already
>> faced this issue on Mac?
>>
>> Thanks in advance
>>
>> --
>> Ricardo Brandão
>> http://www.programonauta.com.br
>>
>> ........__@
>> ....._  \ >_
>> ....(_) /  (_)
>>
>> _______________________________________________
>> Rust-dev mailing list
>> Rust-dev@mozilla.org
>> https://mail.mozilla.org/listinfo/rust-dev
>>
>
>
>
> _______________________________________________
> Rust-dev mailing list
> Rust-dev@mozilla.org
> https://mail.mozilla.org/listinfo/rust-dev
>
>
>
> _______________________________________________
> Rust-dev mailing list
> Rust-dev@mozilla.org
> https://mail.mozilla.org/listinfo/rust-dev
>
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to