This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: breakpoints at bogus locations
- From: Florian Weimer <fw at deneb dot enyo dot de>
- To: Allen Hopkins <allenh at eecs dot berkeley dot edu>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Mon, 31 Jan 2005 21:39:49 +0100
- Subject: Re: breakpoints at bogus locations
- References: <41FE9251.3020100@eecs.berkeley.edu>
* 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?