Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Potential Bug in CDT Variables Tab

Hello,
I believe I have discovered a bug in CDT views. I was trying to set watchpoints in a ram stage debug, and I got doubled variables in the variable view (see attached screen shot). If I try to click on one of these variables in order to set a watchpoint, the highlighting flickers rapidly between the two variables and a watchpoint can't be set. The code being debugged looks like:

void foo(int boot_complete);

void foo(int boot_complete)
{
//do stuff
}

Looking at a GDB console, I can see that GDB is only aware of one variable named boot_complete, so it appears there's something strange in the CDT handling code. I was just wondering if this is a known issue or if it's something that a bug should be filed on.

Thanks,
Jason Litton

Attachment: double_variables.png
Description: PNG image


Back to the top