From dce4a696bfad7cbd77ef2bc490b939fcb91b03e6 Mon Sep 17 00:00:00 2001 From: Zhengyu Gu Date: Wed, 18 Jan 2012 11:45:14 -0500 Subject: [PATCH] 7131050: fix for "7071311 Decoder enhancement" does not build on MacOS X Decoder API changes did not reflect in os_bsd Reviewed-by: kamg, dcubed --- hotspot/src/os/bsd/vm/os_bsd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hotspot/src/os/bsd/vm/os_bsd.cpp b/hotspot/src/os/bsd/vm/os_bsd.cpp index c6e27b273fd..2526e65f229 100644 --- a/hotspot/src/os/bsd/vm/os_bsd.cpp +++ b/hotspot/src/os/bsd/vm/os_bsd.cpp @@ -1920,7 +1920,7 @@ bool os::dll_address_to_function_name(address addr, char *buf, return true; } else if (dlinfo.dli_fname != NULL && dlinfo.dli_fbase != 0) { if (Decoder::decode((address)(addr - (address)dlinfo.dli_fbase), - dlinfo.dli_fname, buf, buflen, offset) == Decoder::no_error) { + buf, buflen, offset, dlinfo.dli_fname)) { return true; } }