Home
Our Services
Programming Tools Business Unit
Open Source Tools
Porting the GNU Debugger for a RISC based processor
Porting the GNU Debugger for a RISC based processor
| OS | Linux |
| Language/Platform | C |
| Development model | Incremental development model |
| Quality validation tools |
|
Since this was the first time we were undertaking GNU tool porting work, without having any prior knowledge of GNU systems, we needed to perform initial study and analysis. This was done by developing test programs and checking the execution flow in the GNU debugger.
The observed behavior was documented and the required changes were decided. Once we were clear about the work at hand, we divided the whole implementation so as to support the features in an incremental manner.
During the porting work, some features which were not present in the existing GNU debugger were added. These additions were commensurate with the existing code. They did not modify the behavior of the existing system, but at the same time ensured that the new features were supported for the target architecture. Any alterations which could not be supported (due to the inherent design constraints) were readily communicated to the customer and resolved.
After the addition of each new feature, may it be the support of a single instruction, or a new exception, or adding support for the register set, extensive testing was carried out; both on the target architecture as well as on the previously supported architectures, to ensure build/execution does not break.
The project had three phases in which features were added to the simulator/debugger incrementally. All the deliveries were completed in the planned schedule and the product was delivered in time and to the satisfaction of the customer.