Browse > Article
http://dx.doi.org/10.3745/KIPSTA.2003.10A.4.305

Design and Implementation of a Remote Debugger for Concurrent Debugging of Multiple Processes based on Embeded Linux System  

Sim, Hyun-Chul (성균관대학교 대학원 정보통신공학부)
Kang, Yong-Hyeog (성균관대학교 대학원 정보통신공학부)
Eom, Young-Ik (성균관대학교 정보통신공학부)
Abstract
In the embedded Linux environments, developers can concurrently debug multiple processes that have parent-child relationships using multiple gdbs and gdbservers. But, it needs additional coding efforts and messy works of activating another gdbs and gdbservers for each created process, and so, it may be inefficient in the viewpoint of developers. In this paper, we propose a mgdb library and mgdbserver that supports concurrent debugging of multiple processes in the embedded Linux systems by using the library wrapping mechanism without modifying the kernel. Also, through the experimentation of concurrent debugging for multiple processes that communicate by an unnamed pipe, we show that our proposed debugging mechanism is more efficient than the preexisting mechanisms.
Keywords
Debugging; Multi-process debugging; Embedded Linux;
Citations & Related Records
연도 인용수 순위
  • Reference
1 Minheng Tan, A minimal GDB stub for embedded remote debugging, http://www1.cs.columbia.edu/~sedwards/classes/2002/w4995-02/tan-final.pdf, 2002
2 Richard M. Stallman, Debugging with GDB, 4th ed., Cygnus Support, 1996
3 Greg Rose, Embedded Linux 101, http://www.ecnmag.com/ecnmag/issues/2001/12012001/ecldsc100_.asp
4 Etnus, Totalview Getting Started, http://www.etnus.com/Products/TotalView/started/getting_started2.html, 2001
5 Intel, Intel Atchitecture Software Developer's Manual, Vol. 3, 1999
6 Daniel Jacobowitz, Remote Debugging with GDB, http://www.kegel.com/linux/gdbserver.html
7 Sun Microsystems Inc., Linker & Libraries Guide, October, 1998
8 임형택, 심현철, 손승우, 김흥남, 김채규, 'Q+P Esto의 원격개발을 지원하는 타겟에이전트', 한국정보처리학회 2001년 추계학술대회, 제8권 제2호, pp.671-674, 2001
9 Daniel P. Bovet and Marco Cesati, Understanding the Linux Kernel, O'Reilly, 2001
10 Uresh Vahalia, Unix Internals, Prentice Hall, 1996