This chapter describes the steps in porting the OpenRISC 1000 architecture to GDB. It uses the information and data structures described in Chapter 2.
The OpenRISC 1000 version of GDB is documented briefly in the GDB
User Guide [3]. A more comprehensive
tutorial [6] is provided within the
gdb/doc
sub-directory in the file
or1k.texinfo
.
Strictly speaking this was not a new port. An old port existed for GDB 5.3. However GDB has changed substantially since that time, and an almost complete reimplementation was required.