hello,everyone!
when I use the libunwind, I have a problem. when my program is die, my program will use follow code
while(unw_step(&cursor)>0)
{
........
unw_get_reg(&cursor,UNW_REG_IP,&ip );
unw_get_reg(&cursor,UNW_REG_SP,&sp);
ret = UNW_get_proc_info(&cursor, &pip);
if(ret)
{
OUT("failed to locate address")
break;
}
else
{
cout("0x%O81x"-0x%o81", long (pip.start_ip), long(pio_end_ip));
}
}
but the print will print no stop; unw_step(&cursor) return 1 all; I use the platform is arm-none.