[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: checker libs with debugging symbols



Michael Meskes wrote:

>Sorry but I disagree here. For a user who only wants to debug his own
>program debugging symbols in the libraries are not needed. 

Let's take a look at the following program:

#include <stdio.h>

int main()
{
    char buffer[20];

    gets(buffer);
    printf("%s",buffer);
    return 0;
}

If you feed it a line that's too long, the access violation will
happen deep within the C library.  Without debugging symbols, it's
hard to know wether this is a bug in the C library (and there
could be quite a few :-) or your program.
-- 
Thomas Koenig, Thomas.Koenig@ciw.uni-karlsruhe.de, ig25@dkauni2.bitnet.
The joy of engineering is to find a straight line on a double
logarithmic diagram.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: