Linux core under FreeBSD.

Alexander Kabaev kabaev at gmail.com
Fri Mar 27 23:52:48 UTC 2015


On Fri, 27 Mar 2015 18:43:48 +0300
Chagin Dmitry <dchagin at freebsd.org> wrote:

> On Fri, Mar 27, 2015 at 01:40:58PM +0100, Edward Tomasz Napierala
> wrote:
> > Is there a way to debug a core generated by Linux process running
> > under Linuxulator on 11-CURRENT?  Thanks!
> > 
> ptrace implemented only for i386, so ktrace/kdump and
> machdep.uprintf_signal=1
> 

IFF FreeBSD had implemented dumping the core in format compatible with
Linux gdb, then normal Linux gdb binary can be used to examine cores,
ptrace support is not required for that.

Since sysentvec already provides sv_coredump entry, it should not even
be too hard to implement this.

-- 
Alexander Kabaev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20150327/534977b7/attachment.sig>


More information about the freebsd-hackers mailing list