Re: Two debug entries for one local variables, is it a bug in GCC or GDB

2010-07-09 Thread Daniel Berlin
Your bug was not a real bug, AFAICT. At least the debug info you have shown in http://gcc.gnu.org/ml/gcc/2010-01/msg00054.html is not wrong. Certainly, two DIES were unnecessary, but the way it did it was not broken. Note that one of them is marked as DW_AT_declaration, specifying that is where the

Re: Two debug entries for one local variables, is it a bug in GCC or GDB

2010-07-08 Thread asmwarrior
On 2010-7-9 13:58, Nenad Vukicevic wrote: I reported something similar back in January: http://gcc.gnu.org/ml/gcc/2010-01/msg00054.html As I recall, GCC creates duplicates. Nenad Thanks for the reply. I also found your message, This bug has been fixed,see: http://gcc.gnu.org/bugzilla/show_

Re: Two debug entries for one local variables, is it a bug in GCC or GDB

2010-07-08 Thread Nenad Vukicevic
I reported something similar back in January: http://gcc.gnu.org/ml/gcc/2010-01/msg00054.html As I recall, GCC creates duplicates. Nenad On 7/8/10 7:33 PM, asmwarrior wrote: I have post this message to both GCC and GDB, because I'm not sure it is a bug in GDB or GCC. Hi, I have just find t