And why copy the structs? Doesn't #include <i386/foo.h> work? christos
> On Nov 21, 2019, at 9:37 PM, Christos Zoulas <chris...@zoulas.com> wrote: > > That's for kernel debugging? > > christos > >> On Nov 21, 2019, at 9:35 PM, Kamil Rytarowski <n...@gmx.com> wrote: >> >> On 22.11.2019 02:52, Christos Zoulas wrote: >>> Module Name: src >>> Committed By: christos >>> Date: Fri Nov 22 01:52:20 UTC 2019 >>> >>> Modified Files: >>> src/external/gpl3/gdb/lib/libgdb/arch/x86_64: config.h defs.mk init.c >>> >>> Log Message: >>> regen x86_64 for i386 support >>> >> >> For the reference, here is a patch that I shared few months back: >> >> http://netbsd.org/~kamil/patch-00130-32bit-tracee-64bit-gdb.txt >> >> <sanitizer.log>