[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/realgud-lldb c44882b 50/56: Add breakpoint helper
From: |
Rocky Bernstein |
Subject: |
[elpa] externals/realgud-lldb c44882b 50/56: Add breakpoint helper |
Date: |
Thu, 23 May 2019 02:11:47 -0400 (EDT) |
branch: externals/realgud-lldb
commit c44882b3af67dfdc7fc05db2efd97b66964a148e
Author: rocky <address@hidden>
Commit: rocky <address@hidden>
Add breakpoint helper
---
test/regexp-helper.el | 25 ++++++++++++++++++-------
1 file changed, 18 insertions(+), 7 deletions(-)
diff --git a/test/regexp-helper.el b/test/regexp-helper.el
index 2660077..cdcecae 100644
--- a/test/regexp-helper.el
+++ b/test/regexp-helper.el
@@ -3,6 +3,7 @@
(eval-when-compile
(defvar helper-bps)
+ (defvar helper-info-brkpt)
(defvar helper-loc)
(defvar helper-tb)
(defvar prompt-pat)
@@ -14,15 +15,25 @@
(defun setup-regexp-vars(pat-hash)
- (setq helper-bps (gethash "brkpt-set" pat-hash))
- (setq helper-loc (gethash "loc" pat-hash))
- (setq helper-tb (gethash "lang-backtrace" pat-hash))
+ (setq helper-bps (gethash "brkpt-set" pat-hash))
+ (setq helper-info-brkpt (gethash "debugger-breakpoint" pat-hash))
+ (setq helper-loc (gethash "loc" pat-hash))
+ (setq helper-tb (gethash "lang-backtrace" pat-hash))
)
-(defun loc-match(text var)
- "Match TEXT against regexp field VAR"
- (string-match (realgud-loc-pat-regexp var) text)
-)
+(defun loc-match(text regexp-list)
+ "Match TEXT against regexp field REGEXP"
+ (let ((regexp)
+ (ret-val nil))
+ (unless (listp regexp-list)
+ (setq regexp-list (list regexp-list)))
+ (while regexp-list
+ (setq regexp (car regexp-list))
+ (setq regexp-list (cdr regexp-list))
+ (when (setq ret-val (string-match (realgud-loc-pat-regexp regexp) text))
+ (setq regexp-list nil)))
+ ret-val
+ ))
(defun bp-loc-match(text)
(string-match (realgud-loc-pat-regexp helper-bps) text)
- [elpa] externals/realgud-lldb 8adce8d 24/56: Make sure we load lldb, (continued)
- [elpa] externals/realgud-lldb 8adce8d 24/56: Make sure we load lldb, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-lldb 98bcbe4 54/56: Small tweak, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-lldb 4bfd53a 49/56: Emacs lint in preparation for Melpa release, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-lldb dd1d4df 27/56: common.mk.in: avoid having to set ELCFLAGS, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-lldb 8faf094 01/56: 1st cut at an external lldb plugin for realgud., Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-lldb 55b33c7 43/56: Correct some function-call parameters, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-lldb bda33d6 39/56: Bang on breakpoint locations, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-lldb 8612d54 40/56: A number of fixes -, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-lldb 09f927f 45/56: Update README.md - minimally working now., Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-lldb 2296cc4 52/56: Add load-relative and and cl-lib dependencies, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-lldb c44882b 50/56: Add breakpoint helper,
Rocky Bernstein <=
- [elpa] externals/realgud-lldb 810eb0a 48/56: Get ready for melpa release 1.0.0, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-lldb 4afe1ca 51/56: Merge branch 'master' of github.com:realgud/realgud-lldb, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-lldb d784d9c 56/56: Require 25+ now, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-lldb 48fb709 19/56: Remove ANSI schmutz. Inter-packaging woes, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-lldb bee815c 46/56: Add "frame" command. File name futzing., Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-lldb 2c9fbf9 28/56: Some cleanups, Rocky Bernstein, 2019/05/23