From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22178 invoked by alias); 25 Jun 2010 16:20:29 -0000 Received: (qmail 22156 invoked by uid 22791); 25 Jun 2010 16:20:26 -0000 X-SWARE-Spam-Status: No, hits=-5.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 25 Jun 2010 16:20:21 +0000 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o5PGKFq8020005 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 25 Jun 2010 12:20:15 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o5PGKCQc031500 for ; Fri, 25 Jun 2010 12:20:13 -0400 Received: from [10.15.16.55] (toner.yyz.redhat.com [10.15.16.55]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id o5PGKB08004717 for ; Fri, 25 Jun 2010 12:20:11 -0400 Message-ID: <4C24D3C0.7070400@redhat.com> Date: Fri, 25 Jun 2010 16:20:00 -0000 From: sami wagiaalla User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Thunderbird/3.0.4 MIME-Version: 1.0 To: gdb-patches@sourceware.org Subject: C++ improvements NEWS patch Content-Type: multipart/mixed; boundary="------------070809070103030307040302" X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-06/txt/msg00582.txt.bz2 This is a multi-part message in MIME format. --------------070809070103030307040302 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 94 Apologies for the lateness of this entry. A little blurb about ADL and operator improvements. --------------070809070103030307040302 Content-Type: text/plain; name="NEWS-cpp.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="NEWS-cpp.patch" Content-length: 1236 diff --git a/gdb/NEWS b/gdb/NEWS index 1e1ea39..941963f 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -3,6 +3,35 @@ *** Changes since GDB 7.1 +* C++ Improvements: + + ** Argument Dependent Lookup (ADL) + + In C++ ADL lookup directs function search to the namespaces of its + arguments even if the namespace has not been imported. + For example: + namespace A + { + class B { }; + void foo (B) { } + } + ... + A::B b + foo(b) + Here the compiler will search for 'foo' in the namespace of 'b' + and find A::foo. GDB now supports this. This construct is commonly + used in the Standard Template Library for operators. + + ** Improved User Defined Operator Support + + In addition to member operators, GDB now supports lookup of operators + defined in a namespace and imported with a 'using directive', operators + defined in the global scope, operators imported implicitly from an + anonymous namespace, and as mentioned in the previous point ADL + operators. + GDB now also supports proper overload resolution for all the previously + mentioned flavors of operators. + * Windows Thread Information Block access. On Windows targets, GDB now supports displaying the Windows Thread --------------070809070103030307040302--