aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
2006-08-05jvmti.cc: Added MAYBE_UNUSED to 'env' parameters.Tom Tromey2-24/+40
* jvmti.cc: Added MAYBE_UNUSED to 'env' parameters. (_Jv_JVMTI_GetObjectSize): Cast _Jv_GetArrayElementFromElementType result to _Jv_uintptr_t. From-SVN: r115942
2006-08-04VMFrame.java: Update to Classpath 0.91.Keith Seitz10-51/+419
* gnu/classpath/jdwp/VMFrame.java: Update to Classpath 0.91. * gnu/classpath/jdwp/VMIdManager.java: Likewise. * gnu/classpath/jdwp/VMMethod.java: Likewise. * gnu/classpath/jdwp/VMVirtualMachine: Likewise. * gnu/classpath/jdwp/natVMFrame.java: New file. * gnu/classpath/jdwp/natVMMethod.java: New file. * gnu/classpath/jdwp/natVMVirtualMachine.java: New file. * Makefile.am (nat_source_files): Add new filles. * Makefile.in: Regenerated. From-SVN: r115934
2006-08-03jvmti.cc (REQUIRE_PHASE): New macro.Tom Tromey2-35/+574
* jvmti.cc (REQUIRE_PHASE): New macro. (_Jv_JVMTI_InterruptThread): New function. (_Jv_JVMTI_CreateRawMonitor): Likewise. (_Jv_JVMTI_DestroyRawMonitor): Likewise. (_Jv_JVMTI_RawMonitorEnter): Likewise. (_Jv_JVMTI_RawMonitorExit): Likewise. (_Jv_JVMTI_RawMonitorWait): Likewise. (_Jv_JVMTI_RawMonitorNotify): Likewise. (_Jv_JVMTI_RawMonitorNotifyAll): Likewise. (_Jv_JVMTI_Allocate): Likewise. (_Jv_JVMTI_Deallocate): Likewise. (_Jv_JVMTI_GetClassModifiers): Likewise. (_Jv_JVMTI_GetClassMethods): Likewise. (_Jv_JVMTI_IsInterface): Likewise. (_Jv_JVMTI_IsArrayClass): Likewise. (_Jv_JVMTI_GetClassLoader): Likewise. (_Jv_JVMTI_GetObjectHashCode): Likewise. (_Jv_JVMTI_GetFieldModifiers): Likewise. (_Jv_JVMTI_IsFieldSynthetic): Likewise. (_Jv_JVMTI_GetMethodModifiers): Likewise. (_Jv_JVMTI_IsMethodNative): Likewise. (_Jv_JVMTI_IsMethodSynthetic): Likewise. (_Jv_JVMTI_GetClassLoaderClasses): Likewise. (_Jv_JVMTI_ForceGarbageCollection): Likewise. (_Jv_JVMTI_GetSystemProperty): Likewise. (_Jv_JVMTI_SetSystemProperty): Likewise. (_Jv_JVMTI_GetTime): Likewise. (_Jv_JVMTI_GetAvailableProcessors): Likewise. (_Jv_JVMTI_AddToBootstrapClassLoaderSearch): Likewise. (_Jv_JVMTI_SetVerboseFlag): Likewise. (_Jv_JVMTI_GetObjectSize): Likewise. (_Jv_JVMTI_SetJNIFunctionTable): Likewise. (_Jv_JVMTI_GetJNIFunctionTable): Likewise. (_Jv_JVMTI_Interface): Updated. (NULL_CHECK): New macro. From-SVN: r115907
2006-08-02re PR libgcj/28546 (./java/lang/Thread.h:31: error: using typedef-name ↵Andreas Tobler2-2/+11
'_Jv_Thread_t' after 'class') 2006-08-02 Andreas Tobler <a.tobler@schweiz.ch> PR libgcj/28546 * include/no-threads.h: Declare _Jv_Thread_t as empty class. From-SVN: r115883
2006-08-01natSystemProperties.cc: Add additional check for getpwuid_r on ↵Andreas Tobler4-7/+18
_POSIX_PTHREAD_SEMANTICS. 2006-08-01 Andreas Tobler <a.tobler@schweiz.ch> * gnu/classpath/natSystemProperties.cc: Add additional check for getpwuid_r on _POSIX_PTHREAD_SEMANTICS. (SystemProperties::insertSystemProperties): Likewise. * java/io/natFilePosix.cc (File::performList): Add additional check for readdir_r on _POSIX_PTHREAD_SEMANTICS. * java/util/natVMTimeZone.cc (VMTimeZone::getSystemTimeZoneId): Add additional check for localtime_r on _POSIX_PTHREAD_SEMANTICS. From-SVN: r115864
2006-07-31re PR libgcj/28312 (peer libraries are installed into gcjversionedlibdir, ↵Thomas Fitzsimmons13-51/+66
not into nativeexeclib) 2006-07-31 Thomas Fitzsimmons <fitzsim@redhat.com> PR libgcj/28312 * classpath/native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS): Add -avoid-version. * classpath/native/jni/midi-alsa/Makefile.in: Regenerate. * classpath/native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS): Add -avoid-version. * classpath/native/jni/midi-dssi/Makefile.in: Regenerate. * classpath/native/jni/qt-peer/Makefile.am: Remove GCJ LOCAL sections. (libqtpeer_la_LDFLAGS): Add -avoid-version. * classpath/native/jni/qt-peer/Makefile.in: Regenerate. * classpath/native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS): Add -avoid-version. * classpath/native/jni/gtk-peer/Makefile.in: Regenerate. * classpath/native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add -avoid-version. * classpath/native/jawt/Makefile.in: Regenerate. * Makefile.am (libjvm_la_LDFLAGS): Add -avoid-version. * Makefile.in: Regenerate. From-SVN: r115839
2006-07-28natSharedLibLoader.cc (init): Don't set curLoader to VMClassLoader::bootLoader.Andrew Haley2-1/+9
2006-07-28 Andrew Haley <aph@redhat.com> * gnu/gcj/runtime/natSharedLibLoader.cc (init): Don't set curLoader to VMClassLoader::bootLoader. From-SVN: r115797
2006-07-28re PR libgcj/13604 (AccessController unfinished)Gary Benson9-209/+414
2006-07-28 Gary Benson <gbenson@redhat.com> Casey Marshall <csm@gnu.org> PR libgcj/13604: * include/java-stack.h (GetClassMethodStack): Declare. * stacktrace.cc (GetClassMethodStack): New method. * java/security/AccessController.java: Removed. * java/security/VMAccessController.java: New file. * java/security/natVMAccessController.cc: Likewise. * Makefile.am (nat_source_files): Added the above. * sources.am, Makefile.in: Rebuilt. Co-Authored-By: Casey Marshall <csm@gnu.org> From-SVN: r115793
2006-07-28SecurityManager.java (currentClassLoader, [...]): Remerged javadoc.Gary Benson2-12/+20
2006-07-28 Gary Benson <gbenson@redhat.com> * java/lang/SecurityManager.java (currentClassLoader, currentLoadedClass, classLoaderDepth, checkAccess, checkRead, checkWrite, checkTopLevelWindow, checkPrintJobAccess, checkSystemClipboardAccess, checkAwtEventQueueAccess, checkPackageList): Remerged javadoc. From-SVN: r115792
2006-07-28prims.cc (_Jv_CreateJavaVM): Move setting runtimeInitialized from the start ↵Gary Benson4-15/+16
to the end of the function. 2006-07-28 Gary Benson <gbenson@redhat.com> * prims.cc (_Jv_CreateJavaVM): Move setting runtimeInitialized from the start to the end of the function. Remove references to VMThrowable.trace_enabled. * java/lang/natVMThrowable.cc (fillInStackTrace): Use runtimeInitialized rather than trace_enabled to decide whether to inhibit stack trace generation. * java/lang/VMThrowable.java (trace_enabled): Removed. From-SVN: r115791
2006-07-24win32-threads.h (_Jv_Thread_t): Explicitly name the struct.Mohan Embar2-1/+6
2006-07-23 Mohan Embar <gnustuff@thisiscool.com> * include/win32-threads.h (_Jv_Thread_t): Explicitly name the struct. From-SVN: r115701
2006-07-23jvmti.cc (_Jv_JVMTI_SuspendThread): Add missing JNICALL attribute.Mohan Embar2-3/+10
2006-07-23 Mohan Embar <gnustuff@thisiscool.com> * jvmti.cc (_Jv_JVMTI_SuspendThread): Add missing JNICALL attribute. (_Jv_JVMTI_ResumeThread): Likewise. (_Jv_JVMTI_DisposeEnvironment): Likewise. From-SVN: r115692
2006-07-22natPlainSocketImplPosix.cc (bind): Clear SockAddr before using - needed for ↵Mohan Embar2-0/+10
OS X/PPC. 2006-07-21 Mohan Embar <gnustuff@thisiscool.com> * gnu/java/net/natPlainSocketImplPosix.cc (bind): Clear SockAddr before using - needed for OS X/PPC. From-SVN: r115669
2006-07-21boehm.cc (_Jv_SuspendThread): Don't ifdef the function declaration, just the ↵Keith Seitz7-67/+71
contents. * boehm.cc (_Jv_SuspendThread): Don't ifdef the function declaration, just the contents. (_Jv_ResumeThread): Likewise. * posix-threads.cc: Revert 2006-06-19 _Jv_ThreadDebugSuspend, _Jv_ThreadDebugResume, _Jv_ThreadDebugSuspendCount patch. Moving to JVMTI instead. * include/posix-threads.h: Likewise. * win32-threads.cc: Likewise. * include/win32-threads.h: Likewise. * jvmti.cc (_Jv_JVMTI_SuspentThread): New function. (_Jv_JVMTI_ResumeThread): New function. (_Jv_JVMTI_Interface): Define SuspendThread and ResumeThread. From-SVN: r115655
2006-07-21re PR libgcj/28426 (libgcj header files installed in wrong location in cross ↵David Daney2-1/+12
build) libstdc++-v3/ PR libgcj/28426 * acinclude.m4: Added a comment. config/ PR libgcj/28426 * gxx-include-dir.m4: Use target_alias in path for cross build. libjava/ PR libgcj/28426 * configure: Regenerated. From-SVN: r115650
2006-07-21* java/io/OutputStreamWriter.java (flush): Create work if null.Mark Wielaard2-1/+7
From-SVN: r115647
2006-07-21natThread.cc (_Jv_ThreadGetData): New function.Keith Seitz4-0/+20
* java/lang/natThread.cc (_Jv_ThreadGetData): New function. * Makefile.am (java/lang/Thread.h): Add friend function _Jv_ThreadGetData. * Makefile.in: Regenerate. From-SVN: r115646
2006-07-20jvmti.cc (_Jv_JVMTI_DisposeEnvironment): New function.Keith Seitz2-1/+14
* jvmti.cc (_Jv_JVMTI_DisposeEnvironment): New function. (_Jv_JVMTI_Interface): Define DisposeEnvironment method. From-SVN: r115631
2006-07-20jvm.h (_Jv_GetJVMTIEnv): Declare.Keith Seitz6-10/+215
* include/jvm.h (_Jv_GetJVMTIEnv): Declare. * jni.cc (_Jv_JNI_GetEnv): Handle JVMTI requests. * jvmti.cc: New file. * Makefile.am (libgcj_la_SOURCES): Add jvmti.cc. * Makefile.in: Regenerate. From-SVN: r115629
2006-07-20* include/jvmti.h: Include copy from upstream before next merge.Keith Seitz2-0/+1819
From-SVN: r115628
2006-07-20* configure.host: Enable the interpreter for mipsel-* and mips-*.David Daney2-0/+7
From-SVN: r115625
2006-07-20mips-signal.h: Update copyright.David Daney2-42/+31
* include/mips-signal.h: Update copyright. (struct kernel_sigaction): Removed. (SIGNAL_HANDLER): Changed prototype. (MAKE_THROW_FRAME): Added cast. (INIT_SEGV): Use sigaction instead of syscall. (INIT_FPE): Likewise. From-SVN: r115624
2006-07-18Makefile.tpl (configure-stageN-MODULE): Pass --with-build-libsubdir for ↵Paolo Bonzini2-4/+28
stages after the first. 2006-07-18 Paolo Bonzini <bonzini@gnu.org> * Makefile.tpl (configure-stageN-MODULE): Pass --with-build-libsubdir for stages after the first. config: 2006-07-18 Paolo Bonzini <bonzini@gnu.org> * acx.m4: Support --with-build-libsubdir and AC_SUBST build_libsubdir. gcc: 2006-07-18 Paolo Bonzini <bonzini@gnu.org> * configure: Regenerate. * Makefile.in (build_libsubdir): New configure substitution (build_libobjdir): New variable. (BUILD_LIBIBERTY): Use it. libgfortran: 2006-07-18 Paolo Bonzini <bonzini@gnu.org> * configure: Regenerate. libjava: 2006-07-18 Paolo Bonzini <bonzini@gnu.org> * configure: Regenerate. libobjc: 2006-07-18 Paolo Bonzini <bonzini@gnu.org> * configure: Regenerate. From-SVN: r115552
2006-07-18File.java (deleteOnExit): Fix security check.Gary Benson2-1/+5
2006-07-18 Gary Benson <gbenson@redhat.com> * java/io/File.java (deleteOnExit): Fix security check. From-SVN: r115551
2006-07-14natFilePosix.cc (performSetLastModified): Return true on success, false ↵Anthony Green2-1/+6
otherwise. 2006-07-14 Anthony Green <green@redhat.com> * java/io/natFilePosix.cc (performSetLastModified): Return true on success, false otherwise. From-SVN: r115452
2006-07-14stacktrace.cc (_Jv_StackTrace::GetStackTrace): Unconditionally use ↵Ranjit Mathew4-49/+77
_Unwind_Backtrace(). * stacktrace.cc (_Jv_StackTrace::GetStackTrace): Unconditionally use _Unwind_Backtrace(). (_Jv_StackTrace::GetCallerInfo): Enable even for targets using SJLJ EH. (_Jv_StackTrace::GetClassContext): Unconditionally use _Unwind_Backtrace(). (_Jv_StackTrace::GetFirstNonSystemClassLoader): Likewise. * sysdep/i386/backtrace.h (HAVE_FALLBACK_BACKTRACE): Do not define. (_Unwind_GetIPInfo): Define macro if SJLJ EH is in use. (_Unwind_GetRegionStart): Likewise. (_Unwind_Backtrace): Likewise. (fallback_backtrace): Accept additional unwind trace function argument. Call it during unwinding. Stop when any of _Jv_RunMain(), _Jv_ThreadStart() or main() is seen during unwinding. * sysdep/generic/backtrace.h (fallback_backtrace): Accept an additional unwind trace function argument. From-SVN: r115449
2006-07-14File.java (internalExists): New method.Gary Benson2-4/+30
2006-07-14 Gary Benson <gbenson@redhat.com> * java/io/File.java (internalExists): New method. (exists): Use internalExists. (internalIsDirectory): New method. (isDirectory): Use internalIsDirectory. (createTempFile): Use internalExists and internalIsDirectory. From-SVN: r115441
2006-07-14interpret.cc (_Jv_InterpMethod::run): Don't SAVE_PC for fdiv.Bryce McKinlay2-1/+4
2006-07-13 Bryce McKinlay <mckinlay@redhat.com> * interpret.cc (_Jv_InterpMethod::run): Don't SAVE_PC for fdiv. From-SVN: r115431
2006-07-13interpret.cc (_Jv_InterpMethod::compile): Add FIXME comment.Bryce McKinlay2-5/+29
2006-07-13 Bryce McKinlay <mckinlay@redhat.com> * interpret.cc (_Jv_InterpMethod::compile): Add FIXME comment. (_Jv_InterpMethod::run): SAVE_PC before executing any instruction using resolve_pool_entry, as it can throw. Likewise for div/rem ops that can throw ArithmeticException. From-SVN: r115422
2006-07-12re PR libgcj/27271 (i/o error (java.util.zip.ZipException: Deflated stream ↵Tom Tromey2-5/+35
ends early.)) PR libgcj/27271: * java/util/zip/ZipFile.java (getInputStream): Call addDummyByte on PartialInputStream. (PartialInputStream.dummyByteCount): New field. (PartialInputStream.fillBuffer): Handle dummy byte. (PartialInputStream.read): Likewise. (PartialInputStream.addDummyByte): New method. From-SVN: r115378
2006-07-12File.java (renameTo): Fix security checks.Gary Benson2-4/+6
2006-07-12 Gary Benson <gbenson@redhat.com> * java/io/File.java (renameTo): Fix security checks. From-SVN: r115373
2006-07-12re PR java/28352 (gcj -C fails to generate line number info for method)Bryce McKinlay2-1/+9
2006-07-12 Bryce McKinlay <mckinlay@redhat.com> PR libgcj/28352 * stacktrace.cc (getLineNumberForFrame): Roll back PC by 1 when looking up line number for interpreted frame. From-SVN: r115370
2006-07-07Port to hosts whose 'sort' and 'tail' implementations treat operands with ↵Paul Eggert2-1/+19
leading '+' as file names... Port to hosts whose 'sort' and 'tail' implementations treat operands with leading '+' as file names, as POSIX has required since 2001. However, make sure the code still works on pre-POSIX hosts. * libjava/classpath/ltmain.sh: Don't assume "sort +2" is equivalent to "sort -k 3", since POSIX 1003.1-2001 no longer requires this. This uses the same fix that is already in libjava/libltdl/ltmain.sh. From-SVN: r115271
2006-07-07StackTrace2.java: Renamed from StackTrace.java.Bryce McKinlay3-10/+18
2006-07-07 Bryce McKinlay <mckinlay@redhat.com> Geoffrey Keating <geoffk@apple.com> * testsuite/libjava.lang/StackTrace2.java: Renamed from StackTrace.java. Changed class name. * testsuite/libjava.lang/StackTrace2.out: Renamed from StackTrace.out. Updated for new class name. Co-Authored-By: Geoffrey Keating <geoffk@apple.com> From-SVN: r115268
2006-07-07Fix conflict with stacktrace.java.Geoffrey Keating1-0/+0
From-SVN: r115267
2006-07-07Fix conflict with stacktrace.out.Geoffrey Keating1-0/+0
From-SVN: r115266
2006-07-07backtrace.h (fallback_backtrace): Scan for a function's prologue to ↵Ranjit Mathew2-22/+42
determine its beginning. * sysdep/i386/backtrace.h (fallback_backtrace): Scan for a function's prologue to determine its beginning. Stop unwinding when we reach JvRunMain(). From-SVN: r115261
2006-07-07Makefile.am (BOOT_CLASS_PATH_DIR): Only contain libgcj.jar.Gary Benson3-2/+7
2006-07-07 Gary Benson <gbenson@redhat.com> * Makefile.am (BOOT_CLASS_PATH_DIR): Only contain libgcj.jar. * Makefile.in: Regenerate. From-SVN: r115252
2006-07-07stacktrace.cc (ClassForFrame): Remove commented-out code.Bryce McKinlay4-9/+100
2006-07-06 Bryce McKinlay <mckinlay@redhat.com> * stacktrace.cc (ClassForFrame): Remove commented-out code. (UnwindTraceFn): Use _Unwind_GetIPInfo and adjust IP only when needed. (getLineNumberForFrame): Don't adjust IP here. * testsuite/libjava.lang/StackTrace.java: New test case. * testsuite/libjava.lang/StackTrace.out: Ditto. From-SVN: r115235
2006-07-06Makefile.am (libgcj_tools_la_GCJFLAGS): Add -fno-indirect-classes.Thomas Fitzsimmons6-2/+15
2006-07-06 Thomas Fitzsimmons <fitzsim@redhat.com> * Makefile.am (libgcj_tools_la_GCJFLAGS): Add -fno-indirect-classes. * Makefile.in: Regenerate. * gcj/Makefile.in: Regenerate. * include/Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. From-SVN: r115230
2006-07-06boehm.cc (_Jv_MarkObj): Mark the next_or_version field.Bryce McKinlay2-0/+9
2006-07-06 Bryce McKinlay <mckinlay@redhat.com> * boehm.cc (_Jv_MarkObj): Mark the next_or_version field. From-SVN: r115227
2006-07-06configure.ac (ac_configure_args): Add --with-native-libdir.Thomas Fitzsimmons9-147/+132
2006-07-06 Thomas Fitzsimmons <fitzsim@redhat.com> * configure.ac (ac_configure_args): Add --with-native-libdir. * configure: Regenerate. * classpath/native/jni/gtk-peer/Makefile.am: Remove GCJ LOCAL sections. * classpath/native/jni/gtk-peer/Makefile.in: Regenerate. * classpath/native/jawt/Makefile.am: Remove GCJ LOCAL sections. * classpath/native/jawt/Makefile.in: Regenerate. * classpath/native/plugin/Makefile.am: Remove GCJ LOCAL sections. * classpath/native/plugin/Makefile.in: Regenerate. From-SVN: r115223
2006-07-05libgcj.spec.in: Use THREADSTARTFILESPEC to affect the spec for startfile.Ranjit Mathew5-21/+54
* libgcj.spec.in: Use THREADSTARTFILESPEC to affect the spec for startfile. * configure.ac: Allow targets to affect the spec for startfile by specifying a THREADSTARTFILESPEC variable. Define this for the win32 threads package to include crtmt.o. * configure: Regenerate. * win32.cc (_CRT_MT): Remove definition. (__mingwthr_key_dtor): Likewise. Co-Authored-By: Danny Smith <dannysmith@users.sourceforge.net> From-SVN: r115196
2006-07-04libjava.exp (libjava_init): Call the GCJ_UNDER_TEST with the -B$specdir.Andreas Tobler2-8/+10
2006-07-04 Andreas Tobler <a.tobler@schweiz.ch> * testsuite/lib/libjava.exp (libjava_init): Call the GCJ_UNDER_TEST with the -B$specdir. From-SVN: r115188
2006-07-04re PR libgcj/28226 (posix.cc:222: error: invalid conversion from 'const ↵Andreas Tobler5-4/+10
void*' to 'void*') 2006-07-04 Andreas Tobler <a.tobler@schweiz.ch> PR libgcj/28226: * include/posix.h (_Jv_platform_dladdr): Remove const qualifier. * include/win32.h (_Jv_platform_dladdr): Likewise. * posix.cc (_Jv_platform_dladdr): Likewise. * win32.cc (_Jv_platform_dladdr): Likewise. From-SVN: r115184
2006-07-04ltconfig: chmod 644 before ranlib during install.Peter O'Gorman2-1/+5
ChangeLog: * ltconfig: chmod 644 before ranlib during install. libiberty/ChangeLog: * Makefile.in: chmod 644 before ranlib during install. gcc/ChangeLog: * mklibgcc.in: chmod 644 before ranlib during install. libjava/classpath/ChangeLog: * ltconfig: chmod 644 before ranlib during install. From-SVN: r115183
2006-07-04libjava.exp (libjava_init): Look for libgcj-$version.jar instead of ↵Andreas Tobler2-1/+14
libgcj-*.jar. 2006-07-04 Andreas Tobler <a.tobler@schweiz.ch> * testsuite/lib/libjava.exp (libjava_init): Look for libgcj-$version.jar instead of libgcj-*.jar. From-SVN: r115181
2006-07-04re PR libgcj/28244 (missing dependency causes build failure)Thomas Fitzsimmons3-0/+9
2006-07-04 Thomas Fitzsimmons <fitzsim@redhat.com> PR libgcj/28244: * Makefile.am (libgcj_tools_la_DEPENDENCIES): Add libgcj.la and libgcj.spec. * Makefile.in: Regenerate. From-SVN: r115180
2006-06-30Makefile.am: Comment out tools wrapper creation.Thomas Fitzsimmons7-407/+318
2006-06-30 Thomas Fitzsimmons <fitzsim@redhat.com> * classpath/tools/Makefile.am: Comment out tools wrapper creation. (TOOLS_ZIP): Rename tools.zip tools.jar. (noinst_DATA): Do not install tools.jar. * classpath/tools/Makefile.in: Regenerate. * classpath/Makefile.am (SUBDIRS): Add tools. (DIST_SUBDIRS): Likewise. * classpath/Makefile.in: Regenerate. * Makefile.am (toolexeclib_LTLIBRARIES): Add libgcj-tools.la. (jar_DATA): Add libgcj-tools-$(gcc_version).jar. (bin_PROGRAMS): Add gappletviewer, gjarsigner and gkeytool. Add build logic for libgcj-tools.la, libgcj-tools-$(gcc_version).jar and gappletviewer, gjarsigner and gkeytool. * Makefile.in: Regenerate. From-SVN: r115097
2006-06-29javaprims.h (_Jv_uintptr_t): New typedef similar to uintptr_t in C99.Ranjit Mathew9-58/+209
* gcj/javaprims.h (_Jv_uintptr_t): New typedef similar to uintptr_t in C99. * include/java-stack.h: Include stdlib.h. (_Jv_AddrInfo): New structure to hold address information. * include/posix.h (_Jv_platform_dladdr): Declare. * include/win32.h (_Jv_platform_dladdr): Declare. (backtrace): Remove declaration. * posix.cc: Include dlfcn.h if available. Include java-stack.h. (_Jv_platform_dladdr): Define. * win32.cc: Include string.h. Include java-stack.h. (backtrace): Remove. (_Jv_platform_dladdr): Define. * sysdep/i386/backtrace.h (fallback_backtrace): Check that a potential frame pointer value is 32-bit word-aligned. Use operand of the CALL instruction calling the current function to find its starting address. * stacktrace.cc: Do not include dlfcn.h. Include platform.h. (_Jv_StackTrace::getLineNumberForFrame): Use _Jv_platform_dladdr() instead of dladdr(). (_Jv_StackTrace::GetStackTraceElements): Use nCodeMap even for Windows. (_Jv_StackTrace::GetClassContext): Use fallback_backtrace() for targets with SJLJ exceptions instead of using _Unwind_Backtrace(). (_Jv_StackTrace::GetFirstNonSystemClassLoader): Likewise. From-SVN: r115069