Re: breakpoints at bogus locations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
I'm using "-ggdb" and no "-O" option, but I've also tried adding "-O0",
with no change. I haven't tried it with optimization turned on, but is
there any point in that? I just seems like that would lead to more
confusion, not less. But any ideas of things to try are welcome, if it
might shed light on the problem.
-Allen
Florian Weimer wrote:
* Allen Hopkins:
I've run "readelf -wl" to look at the DWARF-2 correspondence between
line numbers and addresses. The address corresponding to the line in
question is also associated with lines in other source files. So
something looks screwy with g++.
Do you observe this behavior with -O0, or with optimization turned on?
[Index of Archives]
[Linux C Programming]
[Linux Kernel]
[eCos]
[Fedora Development]
[Fedora Announce]
[Autoconf]
[The DWARVES Debugging Tools]
[Yosemite Campsites]
[Yosemite News]
[Linux GCC]