在gdbinit我定义了一些断点。
gdbinit
当我想运行特定的断点时,我该怎么做x/s $r1?
x/s $r1
我认为您的问题类似于 stackoverflow 上的旧(已解决)线程:
https://stackoverflow.com/questions/6517423/how-to-do-an-specific-action-when-a-certain-breakpoint-is-hit-in-gdb