getting gdb working w/ EABI again...

John-Mark Gurney jmg at funkthat.com
Tue Jan 21 08:36:43 UTC 2014


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."


More information about the freebsd-arm mailing list