From patchwork Fri Aug 8 12:15:39 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kratochvil X-Patchwork-Id: 378193 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 384B0140120 for ; Fri, 8 Aug 2014 22:16:03 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; q=dns; s=default; b=TRPHP+lzEcphtvlJB R9J9mA9RpjfIIa/WCfK3qUaU8BjTPEoHh5JFlpseNtImgWPkPSSrV3Ydr6nCdwhD c/EyNv37Y46xgQ1UJbDJW9SFrmJZHzGkdwyXKDUZUQvc7XkN6A3y7QlRwKa9Indx 1syE2/bDFs00jq0QhmY8NerNLk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=default; bh=3VEUuNTs3elubQ0Fc9YzCI9 7m9c=; b=F4hmTWuzqiXCwFixjvUwYxgZrFB4kSuD1C/AZ57oud0y7IWUPppB9mF xyqJlzJSP0NoTl6dclp+77YX+Rz6AIyrmd5zBQmyDsPRrhaee/14F8zNCfsHL05f dHlpSSfabnTAQatYGkgVUJ87clF6tqJpm826hN166JWEp6ibhKU4= Received: (qmail 3349 invoked by alias); 8 Aug 2014 12:15:46 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 3235 invoked by uid 89); 8 Aug 2014 12:15:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.3 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 08 Aug 2014 12:15:44 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s78CFhBw007542 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 8 Aug 2014 08:15:43 -0400 Received: from host2.jankratochvil.net (ovpn-116-19.ams2.redhat.com [10.36.116.19]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s78CFdWi030837 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO); Fri, 8 Aug 2014 08:15:41 -0400 Date: Fri, 8 Aug 2014 14:15:39 +0200 From: Jan Kratochvil To: Jeff Law Cc: gcc-patches@gcc.gnu.org, Tom Tromey Subject: Re: [PATCH 5/5] add libcc1 [gcc-5/changes.html] Message-ID: <20140808121539.GA12907@host2.jankratochvil.net> References: <1400254001-12038-1-git-send-email-tromey@redhat.com> <87oayx4l0x.fsf@fleche.redhat.com> <87bntobp1f.fsf@fleche.redhat.com> <53D9CA7B.3040709@redhat.com> <87ppgek9xz.fsf@fleche.redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <87ppgek9xz.fsf@fleche.redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes On Tue, 05 Aug 2014 21:34:00 +0200, Tom Tromey wrote: > >>>>> "Jeff" == Jeff Law 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 @@ - + +

C

+
    +
  • GDB evaluation of a block of source code is now provided by new GCC + plugin.
    + For example: +
    +      (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. +
  • +
+

Fortran