On 06/01/2011 08:58 PM, naga raj wrote:
Hi Ian, Thanks for the reply. I am using gdb-7.2 version and my target is Xilinx microblaze.
If you put MicroBlaze in the subject line, I'm much more likely to notice your email. What sources are you using for GCC? When you say you ported GCC to MicroBlaze and made Dwarf debugging the default, this is very odd, since there is support in GCC-4.6 for MicroBlaze which defaults to Dwarf debug support. Gcc-4.1.2 in the Xilinx EDK sources also support Dwarf debugging. As Ian said, there isn't enough information to tell whether there is a bug in gcc or not. Can you reproduce the error with a small test program? How are you compiling it? What gdb commands do you use which causes the error? What is the Dwarf for the function and variables where the error occurs? What is the locptr value that you think is incorrect? -- Michael Eager eager@xxxxxxxxxxxx 1960 Park Blvd., Palo Alto, CA 94306 650-325-8077