libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Libunwind-devel] a problem about libunwind


From: 耿纪超
Subject: [Libunwind-devel] a problem about libunwind
Date: Mon, 23 Sep 2013 09:58:58 +0800 (CST)

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]