# HG changeset patch # User dsamersoff # Date 1446082730 -3600 # Node ID ba9cc1d8cc1fe1d77e5152ed4fecb5ff05eda0f8 # Parent c89e098003b6b7b809c1f91b2b8208570ba97bd1# Parent fd8c35ea89ae73784fb3c3c791ad812532a18cdb Merge diff -r c89e098003b6 -r ba9cc1d8cc1f hotspot/src/os/bsd/dtrace/libjvm_db.c --- a/hotspot/src/os/bsd/dtrace/libjvm_db.c Wed Oct 28 23:29:21 2015 +0100 +++ b/hotspot/src/os/bsd/dtrace/libjvm_db.c Thu Oct 29 02:38:50 2015 +0100 @@ -834,7 +834,7 @@ if (stream_bci == vf->bci) { /* perfect match */ if (debug > 2) - fprintf(stderr, "\t line_number_from_bci: END: exact line: %ld \n\n", vf->line); + fprintf(stderr, "\t line_number_from_bci: END: exact line: %d \n\n", vf->line); vf->line = stream_line; return PS_OK; } else { @@ -843,14 +843,14 @@ best_bci = stream_bci; vf->line = stream_line; if (debug > 2) { - fprintf(stderr, "\t line_number_from_bci: best_bci: %ld, best_line: %ld\n", + fprintf(stderr, "\t line_number_from_bci: best_bci: %d, best_line: %d\n", best_bci, vf->line); } } } } if (debug > 2) - fprintf(stderr, "\t line_number_from_bci: END: line: %ld \n\n", vf->line); + fprintf(stderr, "\t line_number_from_bci: END: line: %d \n\n", vf->line); return PS_OK; fail: @@ -1002,7 +1002,7 @@ err = line_number_from_bci(N->J, vf); CHECK_FAIL(err); if (debug > 2) { - fprintf(stderr, "\t scopeDesc_chain: method: %#8llx, line: %ld\n", + fprintf(stderr, "\t scopeDesc_chain: method: %#8llx, line: %d\n", vf->method, vf->line); } } @@ -1338,7 +1338,7 @@ jframe->bci = vf->bci; jframe->line = vf->line; if (debug) { - fprintf(stderr, "\t Jget_vframe: method name: %s, line: %ld\n", + fprintf(stderr, "\t Jget_vframe: method name: %s, line: %d\n", name, vf->line); } return PS_OK; diff -r c89e098003b6 -r ba9cc1d8cc1f hotspot/src/os/solaris/dtrace/libjvm_db.c --- a/hotspot/src/os/solaris/dtrace/libjvm_db.c Wed Oct 28 23:29:21 2015 +0100 +++ b/hotspot/src/os/solaris/dtrace/libjvm_db.c Thu Oct 29 02:38:50 2015 +0100 @@ -834,7 +834,7 @@ if (stream_bci == vf->bci) { /* perfect match */ if (debug > 2) - fprintf(stderr, "\t line_number_from_bci: END: exact line: %ld \n\n", vf->line); + fprintf(stderr, "\t line_number_from_bci: END: exact line: %d \n\n", vf->line); vf->line = stream_line; return PS_OK; } else { @@ -843,14 +843,14 @@ best_bci = stream_bci; vf->line = stream_line; if (debug > 2) { - fprintf(stderr, "\t line_number_from_bci: best_bci: %ld, best_line: %ld\n", + fprintf(stderr, "\t line_number_from_bci: best_bci: %d, best_line: %d\n", best_bci, vf->line); } } } } if (debug > 2) - fprintf(stderr, "\t line_number_from_bci: END: line: %ld \n\n", vf->line); + fprintf(stderr, "\t line_number_from_bci: END: line: %d \n\n", vf->line); return PS_OK; fail: @@ -1002,7 +1002,7 @@ err = line_number_from_bci(N->J, vf); CHECK_FAIL(err); if (debug > 2) { - fprintf(stderr, "\t scopeDesc_chain: method: %#8llx, line: %ld\n", + fprintf(stderr, "\t scopeDesc_chain: method: %#8llx, line: %d\n", vf->method, vf->line); } } @@ -1338,7 +1338,7 @@ jframe->bci = vf->bci; jframe->line = vf->line; if (debug) { - fprintf(stderr, "\t Jget_vframe: method name: %s, line: %ld\n", + fprintf(stderr, "\t Jget_vframe: method name: %s, line: %d\n", name, vf->line); } return PS_OK;