2001-04-20 Eric Valette <valette@crf.canon.fr>

* aclocal/check-rdbg.m4: Added check to determine which PowerPC
	BSPs support the new exception processing model and
	consequently, librdbg.
This commit is contained in:
Joel Sherrill
2001-04-20 17:27:55 +00:00
parent b9799049e4
commit 084556d6ec
2 changed files with 27 additions and 0 deletions

View File

@@ -1,3 +1,9 @@
2001-04-20 Eric Valette <valette@crf.canon.fr>
* aclocal/check-rdbg.m4: Added check to determine which PowerPC
BSPs support the new exception processing model and
consequently, librdbg.
2001-02-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2001-02-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Reworked for Canadian Cross support. * configure.in: Reworked for Canadian Cross support.

View File

@@ -15,6 +15,27 @@ AC_CACHE_CHECK([whether BSP supports librdbg],
elif test -d "$srcdir/${RTEMS_TOPdir}/c/src/librdbg/src/${RTEMS_CPU}/any"; elif test -d "$srcdir/${RTEMS_TOPdir}/c/src/librdbg/src/${RTEMS_CPU}/any";
then then
rtems_cv_HAS_RDBG="yes" ; rtems_cv_HAS_RDBG="yes" ;
elif test "${RTEMS_CPU}" = "powerpc";
then
A=`grep -l RTEMS_PPC_EXCEPTION_PROCESSING_MODEL $srcdir/${RTEMS_TOPdir}/make/custom/* 2>/dev/null`;
C=""
for i in ${A} ;
do
B=`basename ${i} .cfg`;
C="${C} ${B}";
done
target_found="no";
for j in ${C} ;
do
if test "${$1}" = "${j}" ;
then
target_found="yes";
fi
done
if test "$target_found" = "yes" ;
then
rtems_cv_HAS_RDBG="yes" ;
fi
else else
rtems_cv_HAS_RDBG="no"; rtems_cv_HAS_RDBG="no";
fi fi