From: Paul Gilliam <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 [thread overview]
Message-ID: <200504081521.07587.pgilliam@us.ibm.com> (raw)
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 <pgilliam@us.ibm.com>
* 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__)
next reply other threads:[~2005-04-08 22:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-08 22:23 Paul Gilliam [this message]
2005-04-14 19:16 ` Daniel Jacobowitz
2005-04-15 19:35 ` Paul Gilliam
2005-04-15 19:36 ` Daniel Jacobowitz
2005-04-15 19:42 ` Paul Gilliam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200504081521.07587.pgilliam@us.ibm.com \
--to=pgilliam@us.ibm.com \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox