aboutsummaryrefslogtreecommitdiff
path: root/binutils/dwarf-mode.el
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2011-06-16 16:39:23 +0000
committerTom Tromey <tromey@redhat.com>2011-06-16 16:39:23 +0000
commitaf61e67f319e2430169d98d3e1af9836bde009fb (patch)
treecdb57f6226549fc36b9662da6b3c4b02d61ed175 /binutils/dwarf-mode.el
parenta06c7d5acb1feac14de2f4c8c4d28a62f48805d2 (diff)
downloadfsf-binutils-gdb-af61e67f319e2430169d98d3e1af9836bde009fb.zip
fsf-binutils-gdb-af61e67f319e2430169d98d3e1af9836bde009fb.tar.gz
fsf-binutils-gdb-af61e67f319e2430169d98d3e1af9836bde009fb.tar.bz2
* dwarf-mode.el (dwarf-do-insert-substructure): Call
expand-file-name. (dwarf-do-refresh): Likewise.
Diffstat (limited to 'binutils/dwarf-mode.el')
-rw-r--r--binutils/dwarf-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils/dwarf-mode.el b/binutils/dwarf-mode.el
index 3362bc4..f95319d 100644
--- a/binutils/dwarf-mode.el
+++ b/binutils/dwarf-mode.el
@@ -47,7 +47,7 @@
(save-excursion
(apply #'call-process dwarf-objdump-program nil (current-buffer) nil
"-Wi" (concat "--dwarf-start=0x" die)
- dwarf-file
+ (expand-file-name dwarf-file)
(if new-depth (list (concat "--dwarf-depth="
(int-to-string new-depth))))))
(set-buffer-modified-p nil)))
@@ -136,7 +136,7 @@ A prefix argument means expand all children."
(call-process dwarf-objdump-program
nil (current-buffer) nil
"-Wi" "--dwarf-depth=1"
- dwarf-file))
+ (expand-file-name dwarf-file)))
(set-buffer-modified-p nil)))
;;;###autoload