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 @@ - + +
+ (gdb) compile code int i; for (i = 0; i < 3; ++i) printf ("#%d\n", i) + #0 + #1 + #2 ++ 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. +