The only way I can think of that this could happen: you have some active display
which requires GDB to evaluate some expression every time it stops, and that expression can't be evaluated, yielding Invalid binary operation on numbers
error.
(我能想到的唯一方法是:您有一个活动的display
,需要GDB每次停止时都对其求值,并且该表达式无法求值,从而Invalid binary operation on numbers
错误时产生Invalid binary operation on numbers
。)
Use info display
to see current "auto display" expressions.
(使用info display
可查看当前的“自动显示”表达式。)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…