URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [README.or1k] - Rev 476
Go to most recent revision | Compare with Previous | Blame | View Log
README for GNU Debugger for OpenRISC 1000This directory contains only the files for the OpenRISC 1000 port of GDB 6.8which differ from standard GDB 6.8.To build the OpenRISC 1000 version of GDB 6.8, download and unpack the sourceof standard GDB 6.8 from your favourite mirror. Then copy the files in thisdirectory to the corresponding files in the standard GDB 6.8 (this willinvolve overwriting some files).For your convenience, snapshots of known stable versions of the port areprovided as patch files. For example if you have downloaded GDB 6.8 indirectory gdb-6.8, then the tree could be patched by using:cd gdb-6.8bzcat -dc ../or32-gdb-6.8-patch-1.0.bz2 | patch -p1(assuming the patch file was in hte parent directory)GDB can then be built as normal, having configured with target or32-uclinux,viz:mkdir bd-gdbcd bd-gdb../gdb-6.8/configure --target=or32-uclinux --prefix=<install location> ...make allmake check (optional, needs DejaGNU)make installDocumentation of the port may be found in the modified GDB User Guide (ingdb/doc/gdb.texinfo) and in the OpenRISC 1000 tutorial guide (ingdb/doc/or1k.texinfo). Build these for HTML or PDF with for examplecd bd-gdb/gdb/docmake htmlmake pdfIf you intend using GDB 6.8 with Or1ksim, the architectural simulator, youwill need a patch. A patch suitable for use with Or1ksim 0.2.0 (the lateststable version, not the current top of CVS tree) is also available fordownload. Apply this to the Or1ksim sources before building. Something likethe followingtar zxf or1ksim-0.2.0.tar.gzcd or1ksim-0.2.0bzcat -dc ../or1ksim-0.2.0-gdb-6.8-patch-1.0.bz2 | patch -p1cd ..mkdir bd-or1ksimcd bd-or1ksim../or1ksim-0.2.0/configure --target=or32-uclinux --prefix=<install location>make allmake installThe free Embecosm Application Note EAN2 has full details on all aspects ofbuilding the toolchain for OpenRISC 1000. For details visit:www.embecosm.com/download/index.htmlMuch of the code and documentation enclosed is copyright by the Free SoftwareFoundation, Inc and others. See the file COPYING or COPYING.LIB in thevarious directories, for a description of the GNU General Public License termsunder which you can copy the files.REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for infoon where and how to report problems.
Go to most recent revision | Compare with Previous | Blame | View Log
