On 30.06.2019 18:34, Jason Thorpe wrote: > >> On Jun 30, 2019, at 9:12 AM, Kamil Rytarowski <n...@gmx.com> wrote: >> >> Rationale? It worked for me in compat32 mode... > > Not if you're debugging core files, right? Everything that works for > live-debugging on native also needs to work for introspecting core files. > And, in an ideal world, also works for live cross-debugging to a completely > different arch using a debug server. >
Right, sysctl(3) is perfectly fine for alive processes, but for core(5) we might want something extra. > This isn't just about "32-bit binaries on a 64-bit platform"... we really > should be thinking about this as a general cross-debugging problem. > >> >> There is also r_debug.r_map to get the list of shared objects. >> > > -- thorpej > I'm just spawning gdbserver-aware support for NetBSD in GDB basically from scratch (no other BSD is there). I want to use GDB tests to validate ptrace(2) kernel layer.. Michal works on MD parts. There are still few milestones for us before getting there.
signature.asc
Description: OpenPGP digital signature