From: Tom Tromey Date: Thu, 16 Jun 2011 16:39:23 +0000 (+0000) Subject: * dwarf-mode.el (dwarf-do-insert-substructure): Call X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=af61e67f319e2430169d98d3e1af9836bde009fb;p=binutils-gdb.git * dwarf-mode.el (dwarf-do-insert-substructure): Call expand-file-name. (dwarf-do-refresh): Likewise. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 82d6b52302b..29563e11633 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,9 @@ +2011-06-16 Tom Tromey + + * dwarf-mode.el (dwarf-do-insert-substructure): Call + expand-file-name. + (dwarf-do-refresh): Likewise. + 2011-06-15 Ulrich Weigand * readelf.c (get_note_type): Handle NT_ARM_VFP. diff --git a/binutils/dwarf-mode.el b/binutils/dwarf-mode.el index 3362bc4419d..f95319ded5c 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