[wwwdocs] Mention variable tracking & location lists

Josef Zlomek zlomj9am@artax.karlin.mff.cuni.cz
Tue Feb 10 21:03:00 GMT 2004


Here is the updated patch.

Josef

Index: htdocs/index.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/index.html,v
retrieving revision 1.416
diff -c -p -c -3 -p -r1.416 index.html
*** htdocs/index.html	6 Feb 2004 06:05:08 -0000	1.416
--- htdocs/index.html	10 Feb 2004 20:33:05 -0000
*************** to maintain and improve quality.</p>
*** 87,92 ****
--- 87,100 ----
  
  <dl>
  
+ <dt><b>February 6, 2004</b></dt>
+ <dd>
+ Josef Zlomek of SUSE Labs and Daniel Berlin of IBM Research have contributed
+ Variable Tracking.  It generates more accurate debug info about locations of
+ variables and allows debugging code compiled
+ with <code>-fomit-frame-pointer</code>.
+ </dd>
+ 
  <dt><b>October 18, 2003</b></dt>
  <dd>
  Bernardo Innocenti of Develer S.r.l. has contributed the
Index: htdocs/gcc-3.5/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-3.5/changes.html,v
retrieving revision 1.2
diff -c -p -c -3 -p -r1.2 changes.html
*** htdocs/gcc-3.5/changes.html	28 Jan 2004 23:02:12 -0000	1.2
--- htdocs/gcc-3.5/changes.html	10 Feb 2004 20:33:05 -0000
***************
*** 13,18 ****
--- 13,34 ----
  
  <h2>Caveats</h2>
  
+   <ul>
+     <li>GCC now generates location lists by default when compiling with debug
+ 	info and optimization.
+ 	<ul>
+ 	  <li>GDB 6.0 and older crashes when it sees location lists.
+ 	      GDB 6.1 or later is needed to debug binaries containing location
+ 	      lists.</li>
+ 	  <li>When you are trying to view a value of a variable in a part of
+ 	      a function where it has no location (for example when the variable
+ 	      is no longer used and thus its location was used for something
+ 	      else) GDB will say that it is not available.</li>
+ 	</ul>
+ 	You can disable generating location lists by
+ 	<code>-fno-var-tracking</code>.</li>
+   </ul>
+ 
  <h2>General Optimizer Improvements</h2>
  
  <h2>New Languages and Language specific improvements</h2>
***************
*** 29,34 ****
--- 45,57 ----
  <h2>Documentation improvements</h2>
  
  <h2>Other significant improvements</h2>
+ 
+   <ul>
+     <li>Location lists are now generated by default when compiling with debug
+ 	info and optimization.  Location lists are more accurate debug info
+ 	about locations of variables and they allow debugging code compiled
+ 	with <code>-fomit-frame-pointer</code>.</li>
+   </ul>
  
  </body>
  </html>



More information about the Gcc-patches mailing list