This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I don't know what kind of problem I'm looking at here. Could it be that the debug information is wrong? I'm guessing GDB somehow fails to realize that the function argument is out of scope at this point.
Nothing's wrong - eventually, versions of GCC with proper location list will tell GDB that the variable is out of scope, but no released version does that. I think 3.5 snapshots will.
-- Orjan Friberg Axis Communications
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |