On Tue, 05 Aug 2014 21:34:00 +0200, Tom Tromey wrote: > >>>>> "Jeff" == Jeff Law <l...@redhat.com> writes: > Jeff> Does this deserve a mention in the news file? > > I suppose so, I will get someone here to write it.
Attached (based on Tom's PATCH 0/5 mail). Jan
Index: htdocs/gcc-5/changes.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-5/changes.html,v retrieving revision 1.2 diff -u -p -r1.2 changes.html --- htdocs/gcc-5/changes.html 30 Jul 2014 18:02:31 -0000 1.2 +++ htdocs/gcc-5/changes.html 8 Aug 2014 12:10:46 -0000 @@ -20,7 +20,25 @@ <!-- h3 id="ada">Ada</h3 --> <!-- h3 id="c-family">C family</h3 --> -<!-- h3 id="c">C</h3--> + +<h3 id="c">C</h3> + <ul> + <li>GDB evaluation of a block of source code is now provided by new GCC + plugin.<br /> + For example: + <pre> + (gdb) compile code int i; for (i = 0; i < 3; ++i) printf ("#%d\n", i) + #0 + #1 + #2 + </pre> + A user can compile a code snippet and it will be inserted into the inferior + and evaluated. Declarations needed by the snippet are supplied by GDB, and + there is a GDB--GCC interface so that the snippets can refer to local + variables in the current inferior frame. + </li> + </ul> + <!-- h3 id="cxx">C++</h3--> <!-- h4 id="libstdcxx">Runtime Library (libstdc++)</h4--> <h3 id="fortran">Fortran</h3>