FIXED: get_prolog_backtrace/2 to make sure the top frame is a Prolog frame.  Fixes calling this from foreign code or compound meta-calls. Keri Harris.
FIXED: get_prolog_backtrace/2 to make sure the top frame is a Prolog
frame.  Fixes calling this from foreign code or compound meta-calls.
Keri Harris.

mndrix/swipl-devel,koryonik/swipl-devel,edechter/swipl-devel,jn7163/swipl-devel,mndrix/swipl-devel,koryonik/swipl-devel,koryonik/swipl-devel,edechter/swipl-devel,edechter/swipl-devel,koryonik/swipl-devel,mndrix/swipl-devel,jn7163/swipl-devel,mndrix/swipl-devel,koryonik/swipl-devel,jn7163/swipl-devel,jn7163/swipl-devel,edechter/swipl-devel,mndrix/swipl-devel,jn7163/swipl-devel,edechter/swipl-devel