From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18470 invoked by alias); 8 Apr 2005 22:23:03 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 18428 invoked from network); 8 Apr 2005 22:22:58 -0000 Received: from unknown (HELO e32.co.us.ibm.com) (32.97.110.130) by sourceware.org with SMTP; 8 Apr 2005 22:22:58 -0000 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e32.co.us.ibm.com (8.12.10/8.12.9) with ESMTP id j38MMv5j651202 for ; Fri, 8 Apr 2005 18:22:57 -0400 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay04.boulder.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id j38MMvvE195586 for ; Fri, 8 Apr 2005 16:22:57 -0600 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id j38MMun0003356 for ; Fri, 8 Apr 2005 16:22:56 -0600 Received: from dyn9047022123-009047022128.beaverton.ibm.com (dyn9047022123-009047022128.beaverton.ibm.com [9.47.22.128]) by d03av02.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id j38MMuA3003343 for ; Fri, 8 Apr 2005 16:22:56 -0600 From: Paul Gilliam Reply-To: pgilliam@us.ibm.com To: gdb-patches@sources.redhat.com Subject: [patch] seperate HP aCC compiler_info into Major, Minor, and Extension Date: Fri, 08 Apr 2005 22:23:00 -0000 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200504081521.07587.pgilliam@us.ibm.com> X-SW-Source: 2005-04/txt/msg00077.txt.bz2 This patch seperates the compiler info string for the HP aCC compiler into it's components. The old value for version A.01.21 was hpacc-010121; the new value would be hpacc-01-01-21. This is consistant with the why GCC is handled. -=# Paul #=- --- 2005-04-08 Paul Gilliam * lib/compiler.c: Divide HP aCC 'compiler_info' into components. * lib/compiler.cc: Likewise. Index: lib/compiler.c =================================================================== RCS file: /cvs/src/src/gdb/testsuite/lib/compiler.c,v retrieving revision 1.10 diff -c -3 -p -r1.10 compiler.c *** lib/compiler.c 7 Mar 2005 18:57:57 -0000 1.10 --- lib/compiler.c 8 Apr 2005 22:14:43 -0000 *************** set compiler_info [join {hpcc __HP_cc} - *** 62,68 **** #endif #if defined (__HP_aCC) ! set compiler_info [join {hpacc __HP_aCC} -] #endif #if defined (__xlc__) --- 62,68 ---- #endif #if defined (__HP_aCC) ! set need_a_set [eval {regexp {(..)(..)(..)} __HP_aCC dontcare mm nn xx;set compiler_info "hpacc-$mm-$nn-$xx"}] #endif #if defined (__xlc__) Index: lib/compiler.cc =================================================================== RCS file: /cvs/src/src/gdb/testsuite/lib/compiler.cc,v retrieving revision 1.12 diff -c -3 -p -r1.12 compiler.cc *** lib/compiler.cc 7 Mar 2005 18:57:57 -0000 1.12 --- lib/compiler.cc 8 Apr 2005 22:14:43 -0000 *************** set compiler_info [join {hpcc __HP_cc} - *** 50,56 **** #endif #if defined (__HP_aCC) ! set compiler_info [join {hpacc __HP_aCC} -] #endif #if defined (__xlc__) --- 50,56 ---- #endif #if defined (__HP_aCC) ! set need_a_set [eval {regexp {(..)(..)(..)} __HP_aCC dontcare mm nn xx;set compiler_info "hpacc-$mm-$nn-$xx"}] #endif #if defined (__xlc__)