Merge "lib: debug: add dump frame info in panic"