Correct name returned by get_proc_name() for some frames.
authorKonstantin Belousov <kib@freebsd.org>
Sat, 28 Jun 2014 20:28:10 +0000 (23:28 +0300)
committerChanho Park <chanho61.park@samsung.com>
Fri, 22 Aug 2014 01:38:44 +0000 (10:38 +0900)
commit26d9acb057f25b741764fc9c7e34170001f0f4b8
treebb33c80fe040d24a8f2f8b55c038d2fc61849bac
parenta5daef4d653ff09c9bb612708760e36d1f18f1a1
Correct name returned by get_proc_name() for some frames.

Fix returning the name of the function containing the frame PC,
for the non-interrupted frames.  The symbol lookup code should
take use_prev_instr value into account, otherwise it could return
the name of the function adjacent to the caller.
src/mi/Gget_proc_name.c