OSDN Git Service

2006-02-16 Andrew Haley <aph@redhat.com>
authoraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Feb 2006 13:01:40 +0000 (13:01 +0000)
committeraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Feb 2006 13:01:40 +0000 (13:01 +0000)
commitdce8f3de6e8ae5000bff9146231fe4c35e58cc4a
tree179d83a836d62ac3b99fbbd0d3cbcefb187c1752
parent0290e11bf68e28f6d4c15d0d1dfbba2ab890b92c
2006-02-16  Andrew Haley  <aph@redhat.com>

        * stacktrace.cc (GetStackTraceElements): Call
        gnu::gcj::runtime::NameFinder::removeUnknown() to determine if
        non-Java frames should be removed from a printed stack trace.
        Pass methodName to getLineNumberForFrame().
        (getLineNumberForFrame): Set method_name from info.dli_sname.
        * gnu/gcj/runtime/NameFinder.java (removeUnknown): New method.
        (remove_unknown): New variable.
        * include/java-stack.h (_Jv_StackTrace::getLineNumberForFrame):
        Add methodName arg.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111181 138bc75d-0d04-0410-961f-82ee72b054a4
libjava/ChangeLog
libjava/gnu/gcj/runtime/NameFinder.java
libjava/include/java-stack.h
libjava/stacktrace.cc