Re: gcc45 wrong debug info?

2011-02-27 Thread Eric Dedrick
Hmm. When I compile with -gstabs -ggdb, at least addr2line and gdb can at least see the correct line info. The info below is correct except I don't know what's up with the argc thing. Ideas? Thanks. -- Breakpoint 1, main (argc

gcc45 wrong debug info?

2011-02-27 Thread Eric Dedrick
Wondering if anyone has encountered this problem where gdb/gcc doesn't seem to be getting the line number info right. I compiled code in as -- gcc45 -g -W -Wall -O0 -std=c99 -D_BSD_SOURCE -DDEBUG -D__BSD_VISIBLE -DFREEBSD -c inte