[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] GDB gets line numbers wrong. Help!
From: |
Theodore A. Roth |
Subject: |
Re: [avr-gcc-list] GDB gets line numbers wrong. Help! |
Date: |
Wed, 28 Nov 2001 08:43:33 -0700 (MST) |
Hi Scott,
Have you tried comiling without the -O? option? If I'm not mistaken, when
you tell the compiler to optimize, it takes liberties and changes code
behind the scenes, thus making the symbol table in the elf file not quite
right.