Re: [Haifux] Multi-thread debugging for C++ on Linux

2008-11-29 Thread Shachar Shemesh
Ohad Lutzky wrote: > > I thought tracking source code was gdb's job... (Hitting l? And does > anyone know, off the top of their heads, how to get it to show the > current line number and file?) > > Actually, it's the compiler's job. The compiler embeds inside the executable the information need

Re: [Haifux] Multi-thread debugging for C++ on Linux

2008-11-29 Thread Shachar Shemesh
Hai Zaar wrote: > > Insight did a best job for > me debugging project that heavily used C++ templating, where ddd got > lost tracking source code. > When compiling code for use with a debugger, especially C++ code with complex code interleaving, always pass -O0 to the compiler. Despite what

Re: [Haifux] Why open source

2008-11-29 Thread Tzafrir Cohen
On Sat, Nov 29, 2008 at 10:58:17AM +0200, Tal Abir wrote: > I guess that small utilities are hard to make money from. > That might explain the recurring answer of "don't be greedy". Having more money is generally a good thing. Having unrealistic expectations about how to make it is probably not a

Re: [Haifux] Multi-thread debugging for C++ on Linux

2008-11-29 Thread Yotam Medini יותם מדיני
where 1 for example: [EMAIL PROTECTED]:C:1075> cat hell.cc; g++ -g -o hell hell.cc #include int main(int, char**) { std::cout << "hell" << std::endl; return 0; } [EMAIL PROTECTED]:C:1076> gdb hell GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL

Re: [Haifux] Multi-thread debugging for C++ on Linux

2008-11-29 Thread Ohad Lutzky
On Sat, Nov 29, 2008 at 2:01 AM, Hai Zaar <[EMAIL PROTECTED]> wrote: > -- > Zaar > > > > On Fri, Nov 28, 2008 at 8:29 PM, Ohad Lutzky <[EMAIL PROTECTED]> wrote: >> Hello all, >> >> Allow me to add a certain point which wasn't clear in my question: >> This is NOT for me. Myself, I use vim and gdb, a

Re: [Haifux] Why open source

2008-11-29 Thread Shlomi Fish
Hi Tal! Please include an empty line space between two paragraphs. Your text is hard to read. On Saturday 29 November 2008, Tal Abir wrote: > I guess that small utilities are hard to make money from. Right. But a lot of FOSS is anything but a small utility. > That might explain the recurring a

Re: [Haifux] Why open source

2008-11-29 Thread Ori Idan
On Sat, Nov 29, 2008 at 10:58 AM, Tal Abir <[EMAIL PROTECTED]> wrote: > I guess that small utilities are hard to make money from. > That might explain the recurring answer of "don't be greedy". > Why code isn't like poetry? > If someone makes money from some code he should pay whoever written that

Re: [Haifux] Why open source

2008-11-29 Thread Tal Abir
I guess that small utilities are hard to make money from. That might explain the recurring answer of "don't be greedy". Why code isn't like poetry? If someone makes money from some code he should pay whoever written that code. The same as shironet pays Akum, Sourceforge should pay the projects it's

Re: [Haifux] Why open source

2008-11-29 Thread Shlomi Fish
Hi Tzafrir! Good answer - just a few nits. On Friday 28 November 2008, Tzafrir Cohen wrote: > On Fri, Nov 28, 2008 at 06:07:09PM +0200, Tal Abir wrote: > > Source forge is making money from hosting your utility, > > SourceForge makes osme money form adds. But also from selling the > proprietary S