Alan DuBoff <[EMAIL PROTECTED]> wrote:

> We haven't even brought up the great tools yet...have you ever tried to debug 
> with gdb? I haven't tried recentely, but as of a year or two back, it 
> couldn't reliably support re-entrancy into a shared library. Although to give 
> it credit you could enter the library *ONCE*, that's a lot of fun. I did like 
> gdbserver, it let's you debug across the network, so when your host dies at 
> least your development machine doesn't!;-)

Being forced to use gdb is really hard.

GDB is still unable to just do something as simple as printing a stack trace
from a stripped application _including_ the parameters.

So debugging on Linux is what Brian Cantrill calls sending a new debug airplane
with 300 new passengers over the ocean in hope that it will crash too just in
oder to find the reason instead of checking the rests of the one machine that
did just crash.

I believe it is unacceptable to be forced to compile a special debug binary
just in order to be able to use a debugger. Specially when it is known that
GCC had bugs when compiling with "-O2" compared to "-O2 -g".

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]        (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to