Browse > Article

A Remote Debugging Scheme for Multi-process Applications in Linux Environments  

심현철 (성균관대학교 정보통신공학부)
강용혁 (성균관대학교 정보통신공학부)
엄영익 (성균관대학교 정보통신공학부)
Abstract
Debugging for application Programs running in embedded Linux systems has mostly been done remotely due to the limited resources of the target systems. The gdb, which is one of the most famous debugger in Linux systems, does not support the debugging of the child processes which is created by the fork system call in local and remote environments. Therefore, by using gdb, developers can debug the application programs that have single-process structure in local and remote environments, but they cannot debug the application programs that have multi-process structures by using gdb in remote environments. Also, although developers can debug the application programs that have multi-process structures by using gdb in local environments, it needs additional and unnecessary codings. In this paper, we presents the remote debugging scheme that can be used for debugging multi-process structured applications. The proposed scheme is implemented by using the library wrapping scheme, and also uses the conventional system components such as gdb and gdbserver.
Keywords
debugging; Multi-process debugging; Embedded Linux;
Citations & Related Records
연도 인용수 순위
  • Reference
1 Greg Rose, Embedded Linux 101, http://www.ecnmag.com/ecnmag/issues/2001/12012001/ec1dsc100_.asp, 2001
2 Richard M. Stallman, Debugging with GDB, 4th ed., Cygnus Support, 1996
3 Nathan Field, Debugging Embedded Linux Application, http://embedded.linuxjournal.com/magazine/issue06/4897/?sid=17, November, 2001
4 Intel, Intel Atchitecture Software Developer's Manual, Vol. 3, 1999
5 Daniel P. Bovet and Marco Cesati, Understanding the Linux Kernel, O'Reilly, 2001
6 Sun Microsystems Inc., Linker & Libraries Guide, October, 1998
7 Etnus, Totalview Getting Started, http://www.etnus.com/Products/TotalView/started/getting_started2.html, 2001
8 Uresh Vahalia, Unix Internals, Prentice Hall, 1996
9 임형택, 심현철, 손승우, 김흥남, 김채규, 'Q+P Esto의 원격 개발을 지원하는 타겟에이전트', 한국정보처리학회 2001년 추계 학술대회, 제 8권, 제 2호, pp. 671-674, 2001   과학기술학회마을