branch: master
commit f153e3f8a89f770165b526ffe91128f513273f68
Author: rocky <[email protected]>
Commit: rocky <[email protected]>
gdb's "eval" is "print".
---
realgud/debugger/gdb/init.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/realgud/debugger/gdb/init.el b/realgud/debugger/gdb/init.el
index fb45afc..789ab24 100644
--- a/realgud/debugger/gdb/init.el
+++ b/realgud/debugger/gdb/init.el
@@ -93,6 +93,7 @@ realgud-loc-pat struct")
(setf (gethash "break" realgud:gdb-command-hash) "break %l")
(setf (gethash "clear" realgud:gdb-command-hash) "clear %l")
(setf (gethash "continue" realgud:gdb-command-hash) "continue")
+(setf (gethash "eval" realgud:gdb-command-hash) "print %s")
(setf (gethash "quit" realgud:gdb-command-hash) "quit")
(setf (gethash "run" realgud:gdb-command-hash) "run")
(setf (gethash "step" realgud:gdb-command-hash) "step %p")