* dwarf-mode.el (dwarf-do-insert-substructure): Call
authorTom Tromey <tromey@redhat.com>
Thu, 16 Jun 2011 16:39:23 +0000 (16:39 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 16 Jun 2011 16:39:23 +0000 (16:39 +0000)
expand-file-name.
(dwarf-do-refresh): Likewise.

binutils/ChangeLog
binutils/dwarf-mode.el

index 82d6b52302ba103f991cf8d2c9cc73bfbff718dc..29563e1163347b895aee638597db6e9515ddcb10 100644 (file)
@@ -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.
index 3362bc4419d6fa62483876887ea78636d24ae7a1..f95319ded5cfcd7bd2152d2a9ff553dd921035fd 100644 (file)
@@ -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