author: Johannes Berg <johannes.berg@intel.com> 2021-05-06 18:05:03 -0700
committer: Linus Torvalds <torvalds@linux-foundation.org> 2021-05-07 00:26:32 -0700
commit: 23921540d2c0a4d8530078f6f64fc3e28444ca9d
parent: 3d1c7fd97e4c5e54034231cd11319079dfaed60e
Commit Summary:
Diffstat:
1 file changed, 2 insertions, 1 deletion
diff --git a/scripts/gdb/linux/symbols.py b/scripts/gdb/linux/symbols.py
index 1be9763cf8bb..08d264ac328b 100644
--- a/scripts/gdb/linux/symbols.py
+++ b/scripts/gdb/linux/symbols.py
@@ -164,7 +164,8 @@ lx-symbols command."""
saved_state['breakpoint'].enabled = saved_state['enabled']
def invoke(self, arg, from_tty):
- self.module_paths = [os.path.expanduser(p) for p in arg.split()]
+ self.module_paths = [os.path.abspath(os.path.expanduser(p))
+ for p in arg.split()]
self.module_paths.append(os.getcwd())
# enforce update