Re: Regression: incorrect line numbers in debug info since 4.5+

2012-06-25 Thread Peter A. Felvegi
The bug is at: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53770 Regards, Peter

Re: Regression: incorrect line numbers in debug info since 4.5+

2012-06-25 Thread Peter A. Felvegi
Hello, Which version of GDB? As documented at http://gcc.gnu.org/gcc-4.5/changes.html GCC now generates unwind info also for epilogues. DWARF debuginfo generated by GCC now uses more features of DWARF3 than before, and also some DWARF4 features. GDB older than 7.0 is not able to handle either o

Re: Regression: incorrect line numbers in debug info since 4.5+

2012-06-25 Thread Jonathan Wakely
On 25 June 2012 17:15, Peter A. Felvegi wrote: > Hello, > > I found out while single stepping a new template function in gdb that gcc > generates bad/inaccurate line numbers in the debug info. Optimization was > turned off, but the execution jumped strangely, see below. gcc-4.4 and the > current cl

Re: Regression: incorrect line numbers in debug info since 4.5+

2012-06-25 Thread Ian Lance Taylor
"Peter A. Felvegi" writes: > I found out while single stepping a new template function in gdb that > gcc generates bad/inaccurate line numbers in the debug > info. Thanks for reporting this. In the future, please send messages like this to gcc-h...@gcc.gnu.org, not gcc@gcc.gnu.org. Thanks. >