|
ABSTRACT
This paper tackles the problem of providing correct information about program variable values in a software-pipelined loop through a non-transparent debugging approach. Since modern processors provide instruction level parallelism, software pipelining techniques have been developed to achieve better performances, especially in the context of embedded systems. Indeed, the effectiveness of software pipelining on such systems has been demonstrated both theoretically and experimentally. As it overlaps iterations and reorders statements, it also makes standard debugging information irrelevant. Hence debugging a loop which has been software-pipelined becomes very difficult. In this paper, we propose a solution relying on selected information to be generated by the compiler and an algorithm for the debugger not to mislead the user.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
A WORKGROUP OF THE FREE STANDARDS GROUP. The DWARF Debugging Standard. http://dwarf.freestandards.org/.
|
| |
2
|
ACE ASSOCIATED COMPILER EXPERTS BV. CoSy Compilers, Overview of Construction and Operation. White paper, 24 Apr. 2003.
|
| |
3
|
ADL-TABATABAI, A.-R. Source Level Debugging of Globally Optimized Code. PhD thesis, Carnegie Mellon University, Pittsburgh PA 15213-3891, June 1996.
|
| |
4
|
|
| |
5
|
Valérie Bertin , Jean-Marc Daveau , Philippe Guillaume , Thierry Lepley , Denis Pilat , Claire Richard , Miguel Santana , Thomas Thery, FlexCC2: An Optimizing Retargetable C Compiler for DSP Processors, Proceedings of the Second International Conference on Embedded Software, p.382-398, October 07-09, 2002
|
 |
6
|
Gary Brooks , Gilbert J. Hansen , Steve Simmons, A new approach to debugging optimized code, Proceedings of the ACM SIGPLAN 1992 conference on Programming language design and implementation, p.1-11, June 15-19, 1992, San Francisco, California, United States
|
 |
7
|
|
 |
8
|
D. S. Coutant , S. Meloy , M. Ruscetta, DOC: a practical approach to source-level debugging of globally optimized code, Proceedings of the ACM SIGPLAN 1988 conference on Programming Language design and Implementation, p.125-134, June 20-24, 1988, Atlanta, Georgia, United States
|
 |
9
|
|
| |
10
|
ELMS, K. Debugging optimised code using function interpretation. In Automated and Algorithmic Debugging (1997), pp. 27--36.
|
| |
11
|
GOUGH, K., LEDERMANN, J., AND ELMS, K. Interpretive debugging of optimised code. Proceedings of ACSC-17, Christchurch (1994).
|
 |
12
|
|
| |
13
|
|
| |
14
|
|
 |
15
|
|
| |
16
|
STALLMAN, R. M. Using and Porting the GNU Compiler Collection, For GCC Version 2.95. Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA, Tel: (617) 876-3296, USA, 1999.
|
| |
17
|
STALLMAN, R. M., PESCH, R., SHEBS, S., ET AL. Debugging with GDB: The GNU Source-Level Debugger. 2002.
|
| |
18
|
TICE, C., AND GRAHAM, S. Key Instructions: Solving the Code Location Problem for Optimized Code. Compaq, Systems Research Center, 2000.
|
 |
19
|
|
| |
20
|
|
 |
21
|
|
 |
22
|
|
| |
23
|
WU, L.-C., AND MEI W. WHU, W. A new breakpoint implementation scheme for debugging globally optimised code. Urbana 51 (1998), 61801.
|
 |
24
|
Le-Chun Wu , Rajiv Mirani , Harish Patil , Bruce Olsen , Wen-mei W. Hwu, A new framework for debugging globally optimized code, Proceedings of the ACM SIGPLAN 1999 conference on Programming language design and implementation, p.181-191, May 01-04, 1999, Atlanta, Georgia, United States
|
 |
25
|
|
| |
26
|
|
|