How to go to the previous line in GDB?

前端 未结 9 808
北荒
北荒 2020-11-29 16:33

Is it possible in gdb to go to a line before the currently executing line. e.g:


void my_fun( somePtrType** arr,int start,int end)
{
 // arr is an array of p         


        
9条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-29 17:16

    According to the GDB docs, and "if the target environment supports it", yes.

提交回复
热议问题