Re: [PATCH 5/5] add libcc1 [gcc-5/changes.html]

2014-09-17 Thread Jan Kratochvil
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


Re: [PATCH 5/5] add libcc1 [gcc-5/changes.html]

2014-09-14 Thread Manuel López-Ibáñez
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 ger...@pfeifer.com wrote:
 Hi Jan,

 On Fri, 8 Aug 2014, Jan Kratochvil wrote:
 Jeff == Jeff Law l...@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=cC/h3
 +  ul
 +liGDB 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


Re: [PATCH 5/5] add libcc1 [gcc-5/changes.html]

2014-08-31 Thread Gerald Pfeifer
Hi Jan,

On Fri, 8 Aug 2014, Jan Kratochvil wrote:
 Jeff == Jeff Law l...@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=cC/h3
+  ul
+liGDB 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


Re: [PATCH 5/5] add libcc1 [gcc-5/changes.html]

2014-08-08 Thread Jan Kratochvil
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 -  1.2
+++ htdocs/gcc-5/changes.html   8 Aug 2014 12:10:46 -
@@ -20,7 +20,25 @@
 
 !-- h3 id=adaAda/h3 --
 !-- h3 id=c-familyC family/h3 --
-!-- h3 id=cC/h3--
+
+h3 id=cC/h3
+  ul
+liGDB 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=cxxC++/h3--
   !-- h4 id=libstdcxxRuntime Library (libstdc++)/h4--
 h3 id=fortranFortran/h3