Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Unified Diff: build/gdb-add-index

Issue 10913264: Make gdb-add-index better respect relative paths and bind mounts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/gdb-add-index
diff --git a/build/gdb-add-index b/build/gdb-add-index
index fa3e7265589b8f6c084b7fffc7ccf7d200788310..4975532213bc199d437c342b1696e00bcc721520 100755
--- a/build/gdb-add-index
+++ b/build/gdb-add-index
@@ -28,7 +28,7 @@ trap "{ echo -n Removing temp directory $DIRECTORY...;
# Grab all the chromium shared library files.
so_files=$(ldd "$FILENAME" 2>/dev/null \
- | grep $(pwd) \
+ | grep $(dirname "$FILENAME") \
| sed "s/.*[ \t]\(.*\) (.*/\1/")
# Add index to binary and the shared library dependencies.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698