diff options
| author | rocky <rocky@gnu.org> | 2017-08-30 11:00:39 -0400 |
|---|---|---|
| committer | rocky <rocky@gnu.org> | 2017-08-30 11:00:39 -0400 |
| commit | c4918cbb1921e9a883199223dbdae5e81e8a7a5d (patch) | |
| tree | fe5886b411dec1be6424d0e12fe383633fe9a694 | |
| parent | f35ace0bc1430bdcde12978616658cd113b0c44e (diff) | |
Was using gdb regexp pats not lldb's
| -rw-r--r-- | test/test-regexp-lldb.el | 7 |
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) |
