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

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

[elpa] externals/beardbolt fffadc0b86 214/323: Allow configuring objdump


From: ELPA Syncer
Subject: [elpa] externals/beardbolt fffadc0b86 214/323: Allow configuring objdump binary in disassembly mode
Date: Thu, 9 Mar 2023 10:58:32 -0500 (EST)

branch: externals/beardbolt
commit fffadc0b865a58fd8eee00f03ed55b9ae5b78e08
Author: Jay Kamat <jaygkamat@gmail.com>
Commit: Jay Kamat <jaygkamat@gmail.com>

    Allow configuring objdump binary in disassembly mode
    
    Closes #24
---
 rmsbolt.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/rmsbolt.el b/rmsbolt.el
index 69cd577ec5..40021a8e13 100644
--- a/rmsbolt.el
+++ b/rmsbolt.el
@@ -247,6 +247,10 @@ Useful for determining if the user overrode things like 
`rmsbolt-command'.
 
 This list of variables will automatically be restored to nil.")
 
+(defvar-local rmsbolt-objdump-binary "objdump"
+  "A binary to use for objdumping when using `rmsbolt-disassemble'.
+Useful if you have multiple objdumpers and want to select between them")
+
 ;;;; Variable-like funcs
 (defun rmsbolt-output-filename (src-buffer &optional asm)
   "Function for generating an output filename for SRC-BUFFER.
@@ -1488,7 +1492,7 @@ Are you running two compilations at the same time?"))
                  (mapconcat #'identity
                             (list cmd
                                   "&&"
-                                  "objdump" "-d" (rmsbolt-output-filename 
src-buffer)
+                                  rmsbolt-objdump-binary "-d" 
(rmsbolt-output-filename src-buffer)
                                   "-C" "--insn-width=16" "-l"
                                   (when (not (booleanp asm-format))
                                     (concat "-M " asm-format))



reply via email to

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