blob: 162ceeac3d3dc2e4117fe14fc8865c7986ac7f17 [file] [log] [blame]
# This is run-hook for source level debugging with -fdebug-prefix-map
# compile option.
define hook-run
python
import os
for i in gdb.objfiles():
# Add source dir relative to build dir.
compile_dir = os.path.dirname(i.filename)
gdb.execute("dir %s" % compile_dir)
end
end