branch: externals/realgud commit 06d54b833d7b263d9406c440e7b258a64a4a7322 Author: rocky <ro...@gnu.org> Commit: rocky <ro...@gnu.org>
Add variable for bashdb file remapping --- realgud/debugger/bashdb/core.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/realgud/debugger/bashdb/core.el b/realgud/debugger/bashdb/core.el index 155b09b1a3..498ff39517 100644 --- a/realgud/debugger/bashdb/core.el +++ b/realgud/debugger/bashdb/core.el @@ -1,4 +1,4 @@ -;; Copyright (C) 2015-2017 Free Software Foundation, Inc +;; Copyright (C) 2015-2017, 2021 Free Software Foundation, Inc ;; Author: Rocky Bernstein <ro...@gnu.org> @@ -35,6 +35,12 @@ "Keymap for minibuffer prompting of bashdb startup command." :inherit minibuffer-local-map) +(defvar realgud:bashdb-file-remap (make-hash-table :test 'equal) + "How to remap script files in bashdb when we otherwise can't + find in the filesystem. The hash key is the file string we saw, + and the value is associated filesystem string presumably in the + filesystem") + ;; FIXME: I think this code and the keymaps and history ;; variable chould be generalized, perhaps via a macro. (defun bashdb-query-cmdline (&optional opt-debugger)