|
|
Hello Roger,
Grr. Indeed you're right that it looks like
convert_cfa_to_fb_loc_list
in dwarf2out.c doesn't appear to support set_loc. The following one
line patch appears to avoid the null range in your testcase on
x86-linux. I'm not really a dwarf expert, so I wonder if you could
confirm that the debugging information is now correct (and we can now
find "a" in "main"). From the source code, this looks like the
correct
fix.
This patch looks good to me. It does fix the dwarf-2 problem we had
observed, and as a result the debugger is back on track with respect
to this locations list issue.
Many thanks for looking at this,
Nicolas
|
|