Is it possible to “jump”/“skip” in GDB debugger?

后端 未结 2 505
旧巷少年郎
旧巷少年郎 2020-11-27 07:28

Is it possible to jump to some location/address in the code/executable while debugging in GDB ?

Let say I have something similar to the following

int         


        
2条回答
  •  春和景丽
    2020-11-27 07:59

    There seems to be a jump command which is exactly what you are looking for:

    http://idlebox.net/2010/apidocs/gdb-7.0.zip/gdb_18.html#SEC163

    Updated link: http://web.archive.org/web/20140101193811/http://idlebox.net/2010/apidocs/gdb-7.0.zip/gdb_18.html#SEC163

提交回复
热议问题