[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/realgud-lldb d6e9b70 29/56: Merge pull request #3 from
From: |
Rocky Bernstein |
Subject: |
[elpa] externals/realgud-lldb d6e9b70 29/56: Merge pull request #3 from realgud/DanSchoppe-fix |
Date: |
Thu, 23 May 2019 02:11:41 -0400 (EDT) |
branch: externals/realgud-lldb
commit d6e9b70313a7e8f4daf1364cf75da3623d675179
Merge: caed6ef 2c9fbf9
Author: R. Bernstein <address@hidden>
Commit: GitHub <address@hidden>
Merge pull request #3 from realgud/DanSchoppe-fix
Dan schoppe fix
---
autogen.sh | 4 ++++
common.mk.in | 4 ++--
lldb/Makefile.am | 5 ++---
lldb/init.el | 2 --
test/test-lldb.el | 3 +++
test/test-regexp-lldb.el | 25 ++++++++++++++-----------
6 files changed, 25 insertions(+), 18 deletions(-)
diff --git a/autogen.sh b/autogen.sh
index 88c32e7..7beb4b9 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,4 +1,8 @@
#!/bin/sh
+# An autoconf setup script.
+# From inside emacs, make sure test-simple is installed and then
+# Press C-x C-e at the end of the next line run this script
+# (test-simple-run "EMACSLOADPATH=%s ./autogen.sh" (mapconcat 'identity
load-path ":"))
ln -fs README.md README
touch common.mk
autoreconf -vfi && \
diff --git a/common.mk.in b/common.mk.in
index 0007063..88f3a9d 100644
--- a/common.mk.in
+++ b/common.mk.in
@@ -7,7 +7,7 @@ short:
%.short:
$(MAKE) $(@:.short=) 2>&1 >/dev/null
-# This is the default taget but We need to include an EMACLOADPATH
+# This is the default target but We need to include an EMACSLOADPATH
.el.elc:
if test "$(EMACS)" != "no"; then \
am__dir=. am__subdir_includes=''; \
@@ -17,7 +17,7 @@ short:
esac; \
test -d "$$am__dir" || $(MKDIR_P) "$$am__dir" || exit 1; \
EMACSLOADPATH=$(EMACSLOADPATH) $(EMACS) --batch \
- $(AM_ELCFLAGS) $(ELCFLAGS) \
+ $(AM_ELCFLAGS) --eval "(progn(package-initialize))" \
$$am__subdir_includes -L $(builddir) -L $(srcdir) \
--eval "(defun byte-compile-dest-file (f) \"address@hidden")" \
--eval "(unless (byte-compile-file \"$<\") (kill-emacs 1))"; \
diff --git a/lldb/Makefile.am b/lldb/Makefile.am
index 4761b78..f5cce1b 100644
--- a/lldb/Makefile.am
+++ b/lldb/Makefile.am
@@ -1,4 +1,3 @@
-lisp_files = $(wildcard *.el)
-EXTRA_DIST = $(lisp_files)
-lisp_LISP = $(lisp_files)
include ../common.mk
+lisp_files = $(wildcard *.el)
+EXTRA_DIST=$(lisp_files)
diff --git a/lldb/init.el b/lldb/init.el
index a8c4961..4ec505f 100644
--- a/lldb/init.el
+++ b/lldb/init.el
@@ -129,8 +129,6 @@ realgud-loc-pat struct")
(1 realgud-backtrace-number-face))
))
-(setf (gethash "lldb" realgud-pat-hash) realgud:lldb-pat-hash)
-
;; Prefix used in variable names (e.g. short-key-mode-map) for
;; this debugger
(setf (gethash "lldb" realgud:variable-basename-hash) "realgud:lldb")
diff --git a/test/test-lldb.el b/test/test-lldb.el
index 72e72fa..7db0984 100644
--- a/test/test-lldb.el
+++ b/test/test-lldb.el
@@ -1,3 +1,6 @@
+;; Press C-x C-e at the end of the next line to run this file test
non-interactively
+;; (test-simple-run "emacs -batch -L %s -L %s -l %s" (file-name-directory
(locate-library "test-simple.elc")) (file-name-directory (locate-library
"realgud.elc")) buffer-file-name)
+
(require 'test-simple)
(require 'load-relative)
(load-file "../lldb/core.el")
diff --git a/test/test-regexp-lldb.el b/test/test-regexp-lldb.el
index 0e3b19d..b19f2f6 100644
--- a/test/test-regexp-lldb.el
+++ b/test/test-regexp-lldb.el
@@ -1,3 +1,6 @@
+;; Press C-x C-e at the end of the next line to run this file test
non-interactively
+;; (test-simple-run "emacs -batch -L %s -L %s -l %s" (file-name-directory
(locate-library "test-simple.elc")) (file-name-directory (locate-library
"realgud.elc")) buffer-file-name)
+
(require 'test-simple)
(require 'load-relative)
(require 'realgud)
@@ -10,8 +13,8 @@
(eval-when-compile
(defvar dbg-name) (defvar realgud-pat-hash) (defvar realgud-bt-hash)
- (defvar loc-pat) (defvar prompt-pat) (defvar s1)
- (defvar file-group) (defvar line-group) (defvar pos)
+ (defvar loc-pat) (defvar prompt-pat)
+ (defvar file-group) (defvar line-group) (defvar test-pos)
(defvar test-dbgr) (defvar test-text)
)
@@ -64,9 +67,9 @@
(match-beginning line-group)
(match-end line-group)))
-(setq pos (match-end 0))
-(assert-equal 65 pos)
-(assert-equal 65 (string-match realgud-bt-re test-text pos))
+(setq test-pos (match-end 0))
+(assert-equal 65 test-pos)
+(assert-equal 65 (string-match realgud-bt-re test-text test-pos))
(assert-equal "strdup.c"
(substring test-text
(match-beginning file-group)
@@ -76,9 +79,9 @@
(match-beginning line-group)
(match-end line-group)))
-(setq pos (match-end 0))
-(assert-equal 149 pos)
-(assert-equal 149 (string-match realgud-bt-re test-text pos))
+(setq test-pos (match-end 0))
+(assert-equal 149 test-pos)
+(assert-equal 149 (string-match realgud-bt-re test-text test-pos))
(assert-equal "main.c"
(substring test-text
(match-beginning file-group)
@@ -88,9 +91,9 @@
(match-beginning line-group)
(match-end line-group)))
-(setq pos (match-end 0))
-(assert-equal 233 pos)
-(assert-equal 233 (string-match realgud-bt-re test-text pos))
+(setq test-pos (match-end 0))
+(assert-equal 233 test-pos)
+(assert-equal 233 (string-match realgud-bt-re test-text test-pos))
(assert-equal "vm_insnhelper.c"
(substring test-text
(match-beginning file-group)
- [elpa] externals/realgud-lldb f995954 23/56: wrong name, (continued)
- [elpa] externals/realgud-lldb f995954 23/56: wrong name, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-lldb 43e1399 38/56: correct realgud:lldb-file-remap initialization, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-lldb 006bda2 20/56: Update INSTALL.md, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-lldb 386588a 17/56: Fix up packaging, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-lldb 2e397f0 31/56: typo, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-lldb f35ace0 33/56: Small changes, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-lldb 8132538 06/56: Lots of fixups, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-lldb b78e0ae 10/56: Doc corrections, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-lldb 512717d 37/56: Merge pull request #4 from danielmartin/add-until-command, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-lldb c4918cb 34/56: Was using gdb regexp pats not lldb's, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-lldb d6e9b70 29/56: Merge pull request #3 from realgud/DanSchoppe-fix,
Rocky Bernstein <=
- [elpa] externals/realgud-lldb bf07222 42/56: Need to use b %X:%l not "break set name -l number, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-lldb 93cfd7d 26/56: Merge branch 'master' of github.com:realgud/realgud-lldb, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-lldb 84d3c0e 53/56: Small package-lint thing, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-lldb 7fdc224 44/56: Fill in realgud cmds, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-lldb 40d36fb 47/56: Regexps for breakpoint buffer. Small tweaks, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-lldb b8c652c 55/56: Administrivia:, Rocky Bernstein, 2019/05/23
- [elpa] externals/realgud-lldb 634eb8e 41/56: Add enable/disable, and backtrace commands, Rocky Bernstein, 2019/05/23
- [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