IA-64 broken_backtrace on 4.0
Andrew Haley
aph@redhat.com
Thu Jul 14 15:51:00 GMT 2005
IA-64 configure.ac on 4.0 branch doesn't define HAVE_BACKTRACE:
AC_CHECK_FUNC(backtrace, [
case "$host" in
ia64-*-linux*)
# Has broken backtrace()
;;
Does anyone know *why* this is defined?
This test works:
#include <execinfo.h>
#include <stdio.h>
int
main (void)
{
void *p[12];
int NN = backtrace (p, 12);
char **pp = backtrace_symbols (p, NN);
printf ("trace: %d\n", NN);
int i;
for (i=0; i<NN; i++)
printf (" %s \n", pp[i]);
}
Can we just delete this IA-64 special case?
Andrew.
More information about the Java
mailing list