emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/realgud-lldb 938fc3c 02/56: Minor fixes


From: Rocky Bernstein
Subject: [elpa] externals/realgud-lldb 938fc3c 02/56: Minor fixes
Date: Thu, 23 May 2019 02:11:35 -0400 (EDT)

branch: externals/realgud-lldb
commit 938fc3c90cd6e41c0a7bb40dbf357e849942a536
Author: rocky <address@hidden>
Commit: rocky <address@hidden>

    Minor fixes
---
 lldb/core.el       |  4 ----
 lldb/init.el       | 11 +++++++++--
 lldb/track-mode.el | 13 ++++++-------
 3 files changed, 15 insertions(+), 13 deletions(-)

diff --git a/lldb/core.el b/lldb/core.el
index c5e14fa..0d371fc 100644
--- a/lldb/core.el
+++ b/lldb/core.el
@@ -1,7 +1,3 @@
-;; Copyright (C) 2015 Free Software Foundation, Inc
-
-;; Author: Rocky Bernstein <address@hidden>
-
 ;; This program is free software; you can redistribute it and/or modify
 ;; it under the terms of the GNU General Public License as published by
 ;; the Free Software Foundation, either version 3 of the License, or
diff --git a/lldb/init.el b/lldb/init.el
index 01d6bd9..1062842 100644
--- a/lldb/init.el
+++ b/lldb/init.el
@@ -32,8 +32,10 @@ realgud-loc-pat struct")
 (defconst realgud:lldb-frame-file-regexp
   (format "\\(.+\\):%s" realgud:regexp-captured-num))
 
-;; regular expression that describes a lldb location generally shown
+;; Regular expression that describes a lldb location generally shown
 ;; before a command prompt. NOTE: we assume annotate 1!
+;; For example:
+;; /src/build/ruby-2.1.5/main.c:24:454:beg:0x55555557659f
 (setf (gethash "loc" realgud:lldb-pat-hash)
       (make-realgud-loc-pat
        :regexp (format "^%s:%s:beg:0x\\([0-9a-f]+\\)"
@@ -42,12 +44,17 @@ realgud-loc-pat struct")
        :line-group 2
        :char-offset-group 3))
 
+;; Regular expression that describes a lldb prompt
+;; For example:
+;;   (gdb)
 (setf (gethash "prompt" realgud:lldb-pat-hash)
       (make-realgud-loc-pat
        :regexp   "^(lldb) "
        ))
 
-;;  regular expression that describes a "breakpoint set" line
+;; Regular expression that describes a "breakpoint set" line
+;; For example:
+;;   Breakpoint 1, main (argc=1, argv=0x7fffffffdbd8) at main.c:24
 (setf (gethash "brkpt-set" realgud:lldb-pat-hash)
       (make-realgud-loc-pat
        :regexp (format "^Breakpoint %s at 0x\\([0-9a-f]*\\): file \\(.+\\), 
line %s.\n"
diff --git a/lldb/track-mode.el b/lldb/track-mode.el
index 5e2f72d..054bc0f 100644
--- a/lldb/track-mode.el
+++ b/lldb/track-mode.el
@@ -16,14 +16,13 @@
 ;; lldb tracking a comint or eshell buffer.
 
 (eval-when-compile (require 'cl))
+
 (require 'load-relative)
-(require-relative-list '(
-                        "../../common/cmds"
-                        "../../common/menu"
-                        "../../common/track"
-                        "../../common/track-mode"
-                        )
-                      "realgud-")
+(require 'realgud-cmds)
+(require 'realgud-menu)
+(require 'realgud-track)
+(require 'realgud-track-mode)
+
 (require-relative-list '("core" "init") "realgud:lldb-")
 
 (realgud-track-mode-vars "realgud:lldb")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]