mirror of git://gcc.gnu.org/git/gcc.git
configure.in: Specifically define HAVE_BACKTRACE if building for MinGW.
2003-01-27 Ranjit Mathew <rmathew@hotmail.com> * configure.in: Specifically define HAVE_BACKTRACE if building for MinGW. * include/win32.h: Remove HAVE_BACKTRACE definition. * gnu/gcj/runtime/natStackTrace.cc: Include platform.h. * configure: Rebuilt. From-SVN: r62000
This commit is contained in:
parent
df87f988e9
commit
e4261ef72c
|
|
@ -1,3 +1,11 @@
|
||||||
|
2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
|
||||||
|
|
||||||
|
* configure.in: Specifically define HAVE_BACKTRACE if building
|
||||||
|
for MinGW.
|
||||||
|
* include/win32.h: Remove HAVE_BACKTRACE definition.
|
||||||
|
* gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
|
||||||
|
* configure: Rebuilt.
|
||||||
|
|
||||||
2003-01-27 Alexandre Oliva <aoliva@redhat.com>
|
2003-01-27 Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
|
||||||
* configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
|
* configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -522,6 +522,13 @@ else
|
||||||
AC_DEFINE(HAVE_BACKTRACE)
|
AC_DEFINE(HAVE_BACKTRACE)
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
], [
|
||||||
|
case "$host" in
|
||||||
|
*mingw*)
|
||||||
|
# Has backtrace() defined in libgcj itself
|
||||||
|
AC_DEFINE(HAVE_BACKTRACE)
|
||||||
|
;;
|
||||||
|
esac
|
||||||
])
|
])
|
||||||
|
|
||||||
AC_CHECK_LIB(dl, dladdr, [
|
AC_CHECK_LIB(dl, dladdr, [
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,8 @@ details. */
|
||||||
#include <java/util/IdentityHashMap.h>
|
#include <java/util/IdentityHashMap.h>
|
||||||
#include <java/lang/ArrayIndexOutOfBoundsException.h>
|
#include <java/lang/ArrayIndexOutOfBoundsException.h>
|
||||||
|
|
||||||
|
#include "platform.h"
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
||||||
|
|
@ -115,8 +115,6 @@ _Jv_read(int s, void *buf, int len)
|
||||||
|
|
||||||
#endif /* DISABLE_JAVA_NET */
|
#endif /* DISABLE_JAVA_NET */
|
||||||
|
|
||||||
#define HAVE_BACKTRACE
|
|
||||||
|
|
||||||
/* Store up to SIZE return address of the current program state in
|
/* Store up to SIZE return address of the current program state in
|
||||||
ARRAY and return the exact number of values stored. */
|
ARRAY and return the exact number of values stored. */
|
||||||
extern int backtrace (void **__array, int __size);
|
extern int backtrace (void **__array, int __size);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue