This is a patch for gdb 5.3 to produce the OS4 debugger.
To rebuild the source, get ftp://ftp.gnu.org/pub/gnu/gdb/gdb-5.3.tar.gz. Unpack
the source, change to the directory of the source code, and apply the diff
(unpack it first):
> tar xvzf gdb-5.3.tar.gz
> cd gdb-5.3
> bzcat <path/to/patch/>gdb-5.3.patch.bz2 | patch -p 1
To build the debugger, create a new directory (outside the debugger's source
tree), and configure it:
> mkdir gdb-build
> cd gdb-build
> ../gdb-5.3/configure --host=ppc-amigaos --target=ppc-amigaos --build=<your
build system> --prefix=<path/to/install/to>
> make
> make install
For more information about configuring and building gdb, see the gdb
documentation
Note: Due to a change in the system header files, this source code will
currently not compile. It is provided to comply with the GPL. An updated version
will be available, uh, when it's done.
| |