diff options
author | Tom Tromey <tromey@redhat.com> | 2011-06-16 16:39:23 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2011-06-16 16:39:23 +0000 |
commit | bda69031738a3cf1c49746d97866bad91f548fb5 (patch) | |
tree | 5c29f9737c72abecc7369b98a3b447f6a0b2fe4f | |
parent | 2267fc0ec98ad3411d237d489a5fe21161de9069 (diff) | |
download | binutils-redhat-bda69031738a3cf1c49746d97866bad91f548fb5.tar.gz |
* dwarf-mode.el (dwarf-do-insert-substructure): Call
expand-file-name.
(dwarf-do-refresh): Likewise.
-rw-r--r-- | binutils/ChangeLog | 6 | ||||
-rw-r--r-- | binutils/dwarf-mode.el | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 82d6b52302..29563e1163 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,9 @@ +2011-06-16 Tom Tromey <tromey@redhat.com> + + * dwarf-mode.el (dwarf-do-insert-substructure): Call + expand-file-name. + (dwarf-do-refresh): Likewise. + 2011-06-15 Ulrich Weigand <ulrich.weigand@linaro.org> * readelf.c (get_note_type): Handle NT_ARM_VFP. diff --git a/binutils/dwarf-mode.el b/binutils/dwarf-mode.el index 3362bc4419..f95319ded5 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 |