This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [wwwdocs] Mention variable tracking & location lists
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: Josef Zlomek <zlomj9am at artax dot karlin dot mff dot cuni dot cz>,Daniel Berlin <dberlin at dberlin dot org>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 10 Feb 2004 20:18:08 +0100 (CET)
- Subject: Re: [wwwdocs] Mention variable tracking & location lists
- References: <20040209165134.GA20481@artax.karlin.mff.cuni.cz>
On Mon, 9 Feb 2004, Josef Zlomek wrote:
> Index: htdocs/index.html
> ===================================================================
> + <dt><b>February 6, 2004</b></dt>
> + <dd>
> + Josef Zlomek of SUSE Labs and Daniel Berlin have contributed
> + Variable Tracking and location list generator. It generates more accurate
> + debug info about variables' locations and enables us to debug code compiled
> + with <code>-fomit-frame-pointer</code>.
This is basically fine, but please wait for an okay by Daniel before
committing it. (For example, does Daniel have an affiliation he would
like to see mentioned?)
I suggest to update the patch, resend it here, and commit it after
Daniel's response or at the end of the week, whatever happens earlier.
I'm afraid most people won't know "location list generator", so perhaps
we can omit it here? If not, please add "a" before "location".
"info about the locations of variables and allows debugging code
compiled..."
> + CVS GDB (which will become GDB 6.1) needs to be used for debugging with
> + location lists.
I'd omit this from the main entry, to keep it shorter, and only mention
it in changes.html.
> Index: htdocs/gcc-3.5/changes.html
> ===================================================================
> + <li>GCC now generates location lists by default when compiling with debug
5A> + info and optimization.
Please add </li> here.
> + <li>GDB 6.0 and older crashes when it sees location lists.
> + CVS GDB (which will become GDB 6.1) is needed to debug binaries
> + containing location lists.
"GDB 6.1 or later is needed...".
(Note that this page has to keep "working" even after GDB 6.1 has been
released.)
> + <li>When you are trying to view a value of a variable in part of
> + function where it has no location (for example when the variable
"of a functions"
> + <li>Location lists are now generated by default when compiling with debug
> + info and optimization. It generates more accurate debug info about
"This generates..."
> + variable's locations and enables us to debug code compiled with
"locations of variables and allows debugging code..."
Gerald
--
Gerald Pfeifer (Jerry) gerald@pfeifer.com http://www.pfeifer.com/gerald/