[5/5] add libcc1 [gcc-5/changes.html]
diff mbox

Message ID 20140808121539.GA12907@host2.jankratochvil.net
State New
Headers show

Commit Message

Jan Kratochvil Aug. 8, 2014, 12:15 p.m. UTC
On Tue, 05 Aug 2014 21:34:00 +0200, Tom Tromey wrote:
> >>>>> "Jeff" == Jeff Law <law@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

Comments

Gerald Pfeifer Aug. 31, 2014, 3:12 p.m. UTC | #1
Hi Jan,

On Fri, 8 Aug 2014, Jan Kratochvil wrote:
>>>>>>> "Jeff" == Jeff Law <law@redhat.com> writes:
>>> Does this deserve a mention in the news file?
> Attached (based on Tom's PATCH 0/5 mail).

Index: htdocs/gcc-5/changes.html
===================================================================
+<h3 id="c">C</h3>
+  <ul>
+    <li>GDB evaluation of a block of source code is now provided by new GCC
+    plugin.<br />

How does one obtain/install/trigger this plugin?  Where are more details
documented?  This is information I'd add here.

+    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.

The validator probably is going to complain that this needs to be within
<p>...</p> markers.

In HTML, I'd just say GDB-GCC (one dash).

I'm good with this patch modulo these suggestion, but perhaps Jeff or
Tom have some further input?

Gerald
Manuel López-Ibáñez Sept. 14, 2014, 3:07 p.m. UTC | #2
What happened with this? I don't see any libcc1 in the gcc repository
and this patch was never committed.

Cheers,

Manuel.


On 31 August 2014 17:12, Gerald Pfeifer <gerald@pfeifer.com> wrote:
> Hi Jan,
>
> On Fri, 8 Aug 2014, Jan Kratochvil wrote:
>>>>>>>> "Jeff" == Jeff Law <law@redhat.com> writes:
>>>> Does this deserve a mention in the news file?
>> Attached (based on Tom's PATCH 0/5 mail).
>
> Index: htdocs/gcc-5/changes.html
> ===================================================================
> +<h3 id="c">C</h3>
> +  <ul>
> +    <li>GDB evaluation of a block of source code is now provided by new GCC
> +    plugin.<br />
>
> How does one obtain/install/trigger this plugin?  Where are more details
> documented?  This is information I'd add here.
>
> +    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.
>
> The validator probably is going to complain that this needs to be within
> <p>...</p> markers.
>
> In HTML, I'd just say GDB-GCC (one dash).
>
> I'm good with this patch modulo these suggestion, but perhaps Jeff or
> Tom have some further input?
>
> Gerald
Jan Kratochvil Sept. 17, 2014, 2:14 p.m. UTC | #3
On Sun, 14 Sep 2014 17:07:05 +0200, Manuel López-Ibáñez wrote:
> What happened with this? I don't see any libcc1 in the gcc repository
> and this patch was never committed.

It was discussed internally and the patches are going to be updated, rebased
and later checked in.


Thanks,
Jan

Patch
diff mbox

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>