summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrocky <rocky@gnu.org>2017-08-30 11:00:39 -0400
committerrocky <rocky@gnu.org>2017-08-30 11:00:39 -0400
commitc4918cbb1921e9a883199223dbdae5e81e8a7a5d (patch)
treefe5886b411dec1be6424d0e12fe383633fe9a694
parentf35ace0bc1430bdcde12978616658cd113b0c44e (diff)
Was using gdb regexp pats not lldb's
-rw-r--r--test/test-regexp-lldb.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/test-regexp-lldb.el b/test/test-regexp-lldb.el
index b19f2f6..bbfd3ad 100644
--- a/test/test-regexp-lldb.el
+++ b/test/test-regexp-lldb.el
@@ -45,7 +45,7 @@
;; test-text) "extract line number")
(note "debugger-backtrace")
(setq realgud-bt-pat (gethash "debugger-backtrace"
- realgud:gdb-pat-hash))
+ realgud:lldb-pat-hash))
(setq test-text
"#0 main (argc=2, argv=0xbffff564, envp=0xbffff570) at main.c:935
#1 0xb7e9f4a5 in *__GI___strdup (s=0xbffff760 \"/tmp/remake/remake\") at strdup.c:42
@@ -58,6 +58,7 @@
(setq file-group (realgud-loc-pat-file-group realgud-bt-pat))
(setq line-group (realgud-loc-pat-line-group realgud-bt-pat))
(assert-equal 0 (string-match realgud-bt-re test-text))
+
(assert-equal "main.c"
(substring test-text
(match-beginning file-group)
@@ -105,7 +106,7 @@
(note "prompt")
(set (make-local-variable 'prompt-pat)
- (gethash "prompt" realgud:gdb-pat-hash))
-(prompt-match "(gdb) ")
+ (gethash "prompt" realgud:lldb-pat-hash))
+(prompt-match "(lldb) ")
(end-tests)