Re: [PATCH v2] scripts/gdb: fix debugging modules on s390

2019-10-17 Thread Jan Kiszka
On 17.10.19 16:11, Jan Kiszka wrote: > On 17.10.19 10:59, Ilya Leoshkevich wrote: >> Currently lx-symbols assumes that module text is always located at >> module->core_layout->base, but s390 uses the following layout: >> >> +--+ <- module->core_layout->base >> | GOT | >> +--+ <- module->

Re: [PATCH v2] scripts/gdb: fix debugging modules on s390

2019-10-17 Thread Jan Kiszka
On 17.10.19 10:59, Ilya Leoshkevich wrote: > Currently lx-symbols assumes that module text is always located at > module->core_layout->base, but s390 uses the following layout: > > +--+ <- module->core_layout->base > | GOT | > +--+ <- module->core_layout->base + module->arch->plt_offset