Preview

Proceedings of the Institute for System Programming of the RAS (Proceedings of ISP RAS)

Advanced search

Developing a Debugger for Real-Time Operating System

https://doi.org/10.15514/ISPRAS-2016-28(2)-13

Abstract

In this paper, we report on the work in progress on the debugger project for real-time operating system JetOS for civil airborne systems. It is designed to work within Integrated Modular Avionics (IMA) architecture and implements ARINC 653 API specification. This operating system is being developed in the Institute for System Programming of the Russian Academy of Sciences and next step in developing this system is to create a tool to debug user-space applications on it. We also discuss the major requirements to such a debugger and show the difference between it and typical debugger, used by desktop developers. Moreover, we review a number of debuggers for various embedded systems and study their functionality. Finally, we present our solution that works both in emulator QEMU, which we use to emulate environment for our system, and on the target hardware. The presented debugger is based on GDB debugging framework but contains a number of extensions specific for debugging embedded applications. However, the implementation of the debugger is not complete yet and there is a number of features that can improve debugger usability, but it is already more functional than common GDB debugger for QEMU and, in contrast to other systems and their debuggers, where developers can use some functions to debug applications, but not all we need, our debugger meets the majority of our requirements and restrictions.

About the Authors

A. N. Emelenko
Institute for System Programming of the Russian Academy of Sciences; Moscow Institute of Physics and Technology (State University)
Russian Federation


K. A. Mallachiev
Institute for System Programming of the Russian Academy of Sciences; Lomonosov Moscow State University
Russian Federation


N. V. Pakulin
Institute for System Programming of the Russian Academy of Sciences; Lomonosov Moscow State University
Russian Federation


References

1. F. Mehnert, J. Glauber and J. Liedtke, “Fiasco Kernel Debugger Manual” Dresden University of Technology, Department of Computer Science, November 2008 (https://os.inf.tu-dresden.de/fiasco/doc/jdb.pdf)

2. Lauterbach GmbH, “RTOS debugger for VxWorks”, November 2015 (http://www2.lauterbach.com/pdf/rtos_vxworks.pdf)

3. Lauterbach GmbH, “RTOS-VxWorks”, 18 August 2014 (http://www2.lauterbach.com/doc/rtosvxworks.pdf)

4. System Architecture Group University of Karlsruhe. “The L4Ka:: Pistachio Microkernel”. May 1, 2003 (http://www.l4ka.org/l4ka/pistachio-whitepaper.pdf)

5. Wind River Systems, Inc “VxWorks Product Overview”, March 2016 (http://windriver.com/products/product-overviews/2691-VxWorks-Product-Overview.pdf)

6. Free Software Foundation, Inc. “Debugging with gdb: the GNU Source-Level Debugger”, The Tenth Edition (https://software.intel.com/sites/default/files/article/365160/gdb.pdf)


Review

For citations:


Emelenko A.N., Mallachiev K.A., Pakulin N.V. Developing a Debugger for Real-Time Operating System. Proceedings of the Institute for System Programming of the RAS (Proceedings of ISP RAS). 2016;28(2):193-204. https://doi.org/10.15514/ISPRAS-2016-28(2)-13



Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.


ISSN 2079-8156 (Print)
ISSN 2220-6426 (Online)