[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/realgud 0ea8a13 094/140: Track breakpoing deletion
From: |
Rocky Bernstein |
Subject: |
[elpa] externals/realgud 0ea8a13 094/140: Track breakpoing deletion |
Date: |
Sat, 25 May 2019 19:35:40 -0400 (EDT) |
branch: externals/realgud
commit 0ea8a13f11aa8b133889d883688538c8553a1a39
Author: rocky <address@hidden>
Commit: rocky <address@hidden>
Track breakpoing deletion
---
realgud/debugger/kshdb/init.el | 73 +++++++++++++++---------------------------
1 file changed, 26 insertions(+), 47 deletions(-)
diff --git a/realgud/debugger/kshdb/init.el b/realgud/debugger/kshdb/init.el
index 6de3d60..68cb3cf 100644
--- a/realgud/debugger/kshdb/init.el
+++ b/realgud/debugger/kshdb/init.el
@@ -49,21 +49,27 @@ realgud-loc-pat struct")
:num 1
))
-;; Regular expression that describes a "breakpoint set" line
+;; realgud-loc-pat that describes a "breakpoint set" line
(setf (gethash "brkpt-set" realgud:kshdb-pat-hash)
- (make-realgud-loc-pat
- :regexp "^Breakpoint \\([0-9]+\\) set in file \\(.+\\), line
\\([0-9]+\\).\n"
- :num 1
- :file-group 2
- :line-group 3))
+ realgud:POSIX-debugger-brkpt-set-pat)
-;; Regular expression that describes a debugger "delete" (breakpoint) response.
+;; realgud-loc-pat that describes a debugger "delete" (breakpoint) response.
;; For example:
-;; Removed 1 breakpoint(s).
+;; Deleted breakpoint 1.
(setf (gethash "brkpt-del" realgud:kshdb-pat-hash)
- (make-realgud-loc-pat
- :regexp "^Removed \\([0-9]+\\) breakpoints(s).\n"
- :num 1))
+ realgud:POSIX-debugger-brkpt-del-pat)
+
+;; realgud-loc-pat that describes a debugger "disable" (breakpoint) response.
+;; For example:
+;; Breakpoint entry 4 disabled.
+(setf (gethash "brkpt-disable" realgud:kshdb-pat-hash)
+ realgud:POSIX-debugger-brkpt-disable-pat)
+
+;; realgud-loc-pat that describes a debugger "enable" (breakpoint) response.
+;; For example:
+;; Breakpoint entry 4 enabled.
+(setf (gethash "brkpt-enable" realgud:kshdb-pat-hash)
+ realgud:POSIX-debugger-brkpt-enable-pat)
;; Regular expression that describes a debugger "backtrace" command line.
;; For example:
@@ -71,59 +77,32 @@ realgud-loc-pat struct")
;; ##1 /etc/apparmor/fns called from file `/etc/init.d/apparmor' at line 35
;; ##2 /etc/init.d/apparmor called from file `/usr/bin/kshdb' at line 129
(setf (gethash "debugger-backtrace" realgud:kshdb-pat-hash)
- (make-realgud-loc-pat
- :regexp (concat realgud-shell-frame-start-regexp
- realgud-shell-frame-num-regexp "[ ]?"
- "\\(.*\\)"
- realgud-shell-frame-file-regexp
- "\\(?:" realgud-shell-frame-line-regexp "\\)?"
- )
- :num 2
- :file-group 4
- :line-group 5)
- )
+ realgud:POSIX-debugger-backtrace-pat)
;; Regular expression that for a termination message.
(setf (gethash "termination" realgud:kshdb-pat-hash)
"^kshdb: That's all, folks...\n")
(setf (gethash "font-lock-keywords" realgud:kshdb-pat-hash)
- '(
- ;; The frame number and first type name, if present.
- ;; E.g. ->0 in file `/etc/init.d/apparmor' at line 35
- ;; --^-
- ("^\\(->\\|##\\)\\([0-9]+\\) "
- (2 realgud-backtrace-number-face))
-
- ;; File name.
- ;; E.g. ->0 in file `/etc/init.d/apparmor' at line 35
- ;; ---------^^^^^^^^^^^^^^^^^^^^-
- ("[ \t]+\\(in\\|from\\) file `\\(.+\\)'"
- (2 realgud-file-name-face))
-
- ;; File name.
- ;; E.g. ->0 in file `/etc/init.d/apparmor' at line 35
- ;; --------^^
- ;; Line number.
- ("[ \t]+at line \\([0-9]+\\)$"
- (1 realgud-line-number-face))
- ;; (trepan-frames-match-current-line
- ;; (0 trepan-frames-current-frame-face append))
- ))
+ realgud:POSIX-debugger-font-lock-keywords)
(setf (gethash "kshdb" realgud-pat-hash) realgud:kshdb-pat-hash)
+(setf (gethash "kshdb" realgud-command-hash) realgud:kshdb-command-hash)
+
(defvar realgud:kshdb-command-hash (make-hash-table :test 'equal)
"hash key is command name like 'quit' and the value is
the trepan command to use, like 'quit!'")
;; (setf (gethash "quit" realgud:kshdb-command-hash) "quit!")
-(setf (gethash "kshdb" realgud-command-hash) realgud:kshdb-command-hash)
(setf (gethash "clear" realgud:kshdb-command-hash) "clear %l")
(setf (gethash "eval" realgud:kshdb-command-hash) "eval %s")
-(setf (gethash "quit" realgud:bashdb-command-hash) "quit")
-(setf (gethash "until" realgud:bashdb-command-hash) "continue %l")
+(setf (gethash "quit" realgud:kshdb-command-hash) "quit")
+(setf (gethash "until" realgud:kshdb-command-hash) "continue %l")
+
+;; Unsupported features:
+(setf (gethash "jump" realgud:bashdb-command-hash) "*not-implemented*")
(provide-me "realgud:kshdb-")
- [elpa] externals/realgud da2a74b 101/140: Merge branch 'master' of github.com:realgud/realgud, (continued)
- [elpa] externals/realgud da2a74b 101/140: Merge branch 'master' of github.com:realgud/realgud, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud ad64b70 081/140: Correct testing for API change..., Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud dc349f8 075/140: Make calls consistent in light of changes, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud f966711 093/140: Merge pull request #217 from muffinmad/patch-1, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 251eb8c 070/140: Small changes, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 09431a4 076/140: Commit stable version before a minor upheaval, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 6d521e9 080/140: Customize compilation-find-file..., Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud d24996a 082/140: Administrivia Add seq to el-get..., Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 388a650 077/140: Sync with savanah ELPA, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud f851166 089/140: Bug in kshdb initialization, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 0ea8a13 094/140: Track breakpoing deletion,
Rocky Bernstein <=
- [elpa] externals/realgud bb967ed 096/140: Add tbreak as per break, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 555282f 084/140: TravisCI 3rd try, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 542e51c 097/140: Merge pull request #220 from MaskRay/tbreak, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 51979d2 099/140: Merge pull request #221 from MaskRay/ex, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 4bcbb89 095/140: Last commit introduced a couple of bugs, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud ba85207 103/140: Add realgud:js-file-line-loc-pat, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 9f9c772 087/140: Remove debug message, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 6706358 073/140: Add format specifier %q a la ksh..., Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud aa76fb0 085/140: Tidy a bit, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 1a69faf 083/140: CircleCI 2nd try, Rocky Bernstein, 2019/05/25