Re: [PATCH v2] gdb: lx-symbols: store the abspath()

2021-02-23 Thread Andrew Morton
On Tue, 23 Feb 2021 16:12:17 +0100 Johannes Berg wrote: > On Thu, 2020-12-17 at 09:31 +0100, Jan Kiszka wrote: > > On 17.12.20 09:17, Johannes Berg wrote: > > > From: Johannes Berg > > > > > > If we store the relative path, the user might later cd to a > > > different directory, and that

Re: [PATCH v2] gdb: lx-symbols: store the abspath()

2021-02-23 Thread Johannes Berg
On Thu, 2020-12-17 at 09:31 +0100, Jan Kiszka wrote: > On 17.12.20 09:17, Johannes Berg wrote: > > From: Johannes Berg > > > > If we store the relative path, the user might later cd to a > > different directory, and that would break the automatic symbol > > resolving that happens when a module

Re: [PATCH v2] gdb: lx-symbols: store the abspath()

2020-12-17 Thread Jan Kiszka
On 17.12.20 09:17, Johannes Berg wrote: > From: Johannes Berg > > If we store the relative path, the user might later cd to a > different directory, and that would break the automatic symbol > resolving that happens when a module is loaded into the target > kernel. Fix this by storing the

[PATCH v2] gdb: lx-symbols: store the abspath()

2020-12-17 Thread Johannes Berg
From: Johannes Berg If we store the relative path, the user might later cd to a different directory, and that would break the automatic symbol resolving that happens when a module is loaded into the target kernel. Fix this by storing the abspath() of each path given, just like we already do for