branch: externals/realgud-lldb
commit 74d442abc8469bb6277702f9c60fa479848009b2
Merge: 3885efb54c 19a2c0a8b2
Author: rocky <ro...@gnu.org>
Commit: rocky <ro...@gnu.org>

    Merge branch 'master' of github.com:realgud/realgud-lldb
---
 lldb/lldb.el | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/lldb/lldb.el b/lldb/lldb.el
index fc8f3901cc..30a7ea555b 100644
--- a/lldb/lldb.el
+++ b/lldb/lldb.el
@@ -81,6 +81,14 @@ fringe and marginal icons.
        (with-current-buffer cmd-buf
          (set (make-local-variable 'realgud--lldb-file-remap)
               (make-hash-table :test 'equal))
+         ;; The following directs lldb to emit full paths
+         ;; when stopping at a breakpoint,
+         ;; which lets us find the file.
+         ;; Unfortunately lldb only emits base file names
+         ;; when setting breakpoints,
+         ;; so we still show an unhelpful prompt at that time.
+         (realgud-command "settings set frame-format frame #${frame.index}: 
${frame.pc}{ ${module.file.basename}{\`${function.name}}}{ at 
${line.file.fullpath}:${line.number}}\n"
+                          nil nil nil)
          (realgud:remove-ansi-schmutz)
          )
       )

Reply via email to