Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Mar 2015 19:52:37 -0400
From:      Alexander Kabaev <kabaev@gmail.com>
To:        Chagin Dmitry <dchagin@freebsd.org>
Cc:        hackers@FreeBSD.org, Edward Tomasz Napierala <trasz@FreeBSD.org>
Subject:   Re: Linux core under FreeBSD.
Message-ID:  <20150327195237.3bddcb31@kan>
In-Reply-To: <20150327154348.GA90856@dchagin.static.corbina.net>
References:  <20150327124058.GA3991@brick.home> <20150327154348.GA90856@dchagin.static.corbina.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/n_Sh5U6iDnAmoS4fEe2W7EJ
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Fri, 27 Mar 2015 18:43:48 +0300
Chagin Dmitry <dchagin@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!
> >=20
> ptrace implemented only for i386, so ktrace/kdump and
> machdep.uprintf_signal=3D1
>=20

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.

--=20
Alexander Kabaev

--Sig_/n_Sh5U6iDnAmoS4fEe2W7EJ
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlUV7UcACgkQQ6z1jMm+XZbaXwCdEYSaj6M08YmXd3q4Kj37qSpb
JYEAoK+Cs0S6mNEzwa2TZqes7KSo37re
=4fDx
-----END PGP SIGNATURE-----

--Sig_/n_Sh5U6iDnAmoS4fEe2W7EJ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150327195237.3bddcb31>