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.


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 <mailto: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 <http://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 <mailto: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