Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2014 00:36:36 -0800
From:      John-Mark Gurney <jmg@funkthat.com>
To:        arm@FreeBSD.org
Subject:   getting gdb working w/ EABI again...
Message-ID:  <20140121083636.GN75135@funkthat.com>

next in thread | raw e-mail | index | archive | help
So, this started out to get kgdb working so I could figure out the
size of vm_page_t, but I ended up making a armeb capabile cross
debugger, and fixing gdb to work on armeb EABI binaries, and possibly
others...

The patch is at:
https://www.funkthat.com/~jmg/gdb.arm.cross.patch

The Makefile.inc1 hunk is there as I use xdev to build it, BUT I had
to build and install a cross libkvm first:
(cd lib/libkvm && make clean all install clean TARGET_ARCH=armeb)

Then I could do the xdev, but it fails later.  If someone who knows
the build infrastructure wants to take a crack at making xdev install
gdb, I'd be appreciative.  I don't know enough of our build system to
get it working right now.

Comments?

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



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