gdb: how to print the current line or find the current line number?

后端 未结 5 1711
渐次进展
渐次进展 2020-12-23 02:56

list commands prints a set of lines, but I need one single line, where I am and where an error has probably occurred.

5条回答
  •  余生分开走
    2020-12-23 03:32

    Command where or frame can be used. where command will give more info with the function name

提交回复
热议问题