Allow gdb to be cross-compiled.
authorSimon Schubert <corecode@dragonflybsd.org>
Mon, 28 Jul 2008 22:33:21 +0000 (22:33 +0000)
committerSimon Schubert <corecode@dragonflybsd.org>
Mon, 28 Jul 2008 22:33:21 +0000 (22:33 +0000)
commit643b986cd4a8b9ad89d89700042c6c78dfb9968a
treea96c9fbdef94ec62c7e90ca3a02ea1bebb25c56f
parentaed810cb4cb4886fbc44598d221612ed4ddecf99
Allow gdb to be cross-compiled.

If you compile gdb with TARGET_ARCH set, it will yield a on the
host runnable gdb which can debug ${TARGET_ARCH}.

Pay attention not to actually install this binary, or you won't have
a host debugger anymore.  Consider this a developer-only feature for now.

Requested-by: Jordan Gordeev
gnu/usr.bin/gdb/libbfd/Makefile
gnu/usr.bin/gdb/libbfd/Makefile.amd64
gnu/usr.bin/gdb/libbfd/Makefile.host.amd64 [new file with mode: 0644]
gnu/usr.bin/gdb/libbfd/Makefile.host.i386 [new file with mode: 0644]
gnu/usr.bin/gdb/libbfd/Makefile.i386
gnu/usr.bin/gdb/libbfd/bfd.h [deleted file]
gnu/usr.bin/gdb/libbfd/bfdver.h [deleted file]
gnu/usr.bin/gdb/libgdb/Makefile
gnu/usr.bin/gdb/libgdb/Makefile.amd64
gnu/usr.bin/gdb/libgdb/Makefile.i386
gnu/usr.bin/gdb/libgdb/version.c