re GNATS libgcj/341 (Throwable.printStackTrace() isn't working)

2000-10-09  Bryce McKinlay  <bryce@albatross.co.nz>

	* include/jvm.h: Enable __builtin_expect().

	* name-finder.cc (lookup): Don't trust dladdr() if the address is from
	the main program. Fix for PR libgcj/341.

From-SVN: r36794
This commit is contained in:
Bryce McKinlay 2000-10-09 01:54:50 +00:00 committed by Bryce McKinlay
parent 79b425c6d3
commit 6a3bad7d98
3 changed files with 12 additions and 4 deletions

View file

@ -11,9 +11,6 @@ details. */
#ifndef __JAVA_JVM_H__
#define __JAVA_JVM_H__
// FIXME: __builtin_expect doesn't work yet.
#define __builtin_expect(A,B) (A)
#include <gcj/javaprims.h>
#include <java-assert.h>