Re: [rust-dev] Debugging in Ubuntu via GDB or related tools

2013-04-09 Thread Alex Bradbury
On 8 April 2013 22:54, Felix S. Klock II pnkfe...@mozilla.com wrote: Artelia (cc'ing rust-dev)- FYI: There is no '-g' flag, at least not in Rust 0.6. According to the #rust IRC channel, the correct flag is now -Z debug-info There is also a proposed GSoC project to improve debugging support:

[rust-dev] Debugging in Ubuntu via GDB or related tools

2013-04-08 Thread Artella Coding
Hi, I know that if I have the following basic program : *** ///hello.rs fn main(){ io::println(Hello); } *** then the command : rustc hello.rs produces an executable called hello which I can then run in ubuntu, How would I compile it so that I can then use gdb to debug,

Re: [rust-dev] Debugging in Ubuntu via GDB or related tools

2013-04-08 Thread Tim Chevalier
On Mon, Apr 8, 2013 at 11:55 AM, Artella Coding artella.cod...@googlemail.com wrote: Hi, I know that if I have the following basic program : *** ///hello.rs fn main(){ io::println(Hello); } *** then the command : rustc hello.rs produces an executable called hello