> On Jun 30, 2019, at 8:06 AM, Kamil Rytarowski <n...@gmx.com> wrote: > > On 30.06.2019 15:46, Andrew Cagney wrote: >> There's /proc/PID/maps, there should be a PTRACE equivalent and it >> should also be dumped into the core file. > > There is kinfo_getvmmap(3) + sysctl(3) equivalent.
But this really should work for cross-debugging as well. -- thorpej