[Lldb-commits] [PATCH 2/2] elf-core: Run-time reg context selection

Ed Maste emaste at freebsd.org
Mon Jul 22 13:34:37 PDT 2013

On 22 July 2013 15:01, Malea, Daniel <daniel.malea at intel.com> wrote:
> Hi Ed,
> This patch and the one before it seem OK. No regressions detected when
> running the test suite with Clang on Linux. Not sure how I would test
> loading a FreeBSD core-file on Linux though...

Dan, thanks for testing this.  I've committed these two, with the
addition of assert()s as suggested on IRC.  Samuel is reviewing an
additional patch set which separates Linux and FreeBSD note parsing,
and I have additional patches that remove the remaining #ifdef cases.

I think loading FreeBSD cores on Linux (or v-v) won't yet work, due to
an issue with ObjectFileELF::GetModuleSpecifications that I posted to
-dev[1].  Right now the OS and Vendor is just taken from the Host.
Once that's sorted out though it should be possible to just load a
FreeBSD binary & core file as you would a Linux binary & core.  I'll
make a trivial example available for testing (and try it in my Linux
VM too, of course).

[1] http://lists.cs.uiuc.edu/pipermail/lldb-dev/2013-July/002087.html

More information about the lldb-commits mailing list