From: chastain Date: Fri, 2 Jul 2004 04:18:12 +0000 (+0000) Subject: 2004-07-02 Michael Chastain X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=29e1f3b3154ba60f52ccb46a7b9cc54b4c3b6cc2;p=pf3gnuchains%2Fpf3gnuchains3x.git 2004-07-02 Michael Chastain * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler. * lib/compiler.cc: Likewise. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index bf936bf287..7eff41e9c2 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-07-02 Michael Chastain + + * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler. + * lib/compiler.cc: Likewise. + 2004-06-30 Michael Chastain * lib/compiler.cc: Work around string preprocessing problem diff --git a/gdb/testsuite/lib/compiler.c b/gdb/testsuite/lib/compiler.c index 1cc5d7397a..da2fb0c0ac 100644 --- a/gdb/testsuite/lib/compiler.c +++ b/gdb/testsuite/lib/compiler.c @@ -52,7 +52,13 @@ set compiler_info [join {gcc __GNUC__ __GNUC_MINOR__ "unknown"} -] #endif #endif +#if defined (__HP_CXD_SPP) +/* older hp ansi c, such as A.11.01.25171.gp, defines this */ +set compiler_info [join {hpcc __HP_CXD_SPP} -] +#endif + #if defined (__HP_cc) +/* newer hp ansi c, such as B.11.11.28706.gp, defines this */ set compiler_info [join {hpcc __HP_cc} -] #endif diff --git a/gdb/testsuite/lib/compiler.cc b/gdb/testsuite/lib/compiler.cc index fdf1ab5478..66fb32b9d3 100644 --- a/gdb/testsuite/lib/compiler.cc +++ b/gdb/testsuite/lib/compiler.cc @@ -40,7 +40,13 @@ set compiler_info [join {gcc __GNUC__ __GNUC_MINOR__ "unknown"} -] #endif #endif +#if defined (__HP_CXD_SPP) +/* older hp ansi c, such as A.11.01.25171.gp, defines this */ +set compiler_info [join {hpcc __HP_CXD_SPP} -] +#endif + #if defined (__HP_cc) +/* newer hp ansi c, such as B.11.11.28706.gp, defines this */ set compiler_info [join {hpcc __HP_cc} -] #endif