3.8. The Program Debugger

Debugging programs written at the assembly language level presents a challenge to the programmer, in part because of the effort required to insert temporary diagnostics.

Figure 3-4. Output from the nm command for SQUARES
 L> nm bin/squares 0000000000000000 a *ABS* 60000000000007e0 ? _DYNAMIC 6000000000000798 ? _GLOBAL_OFFSET_TABLE_ 6000000000000930 G _IO_stdin_used 6000000000000780 ? __CTOR_END__ 6000000000000778 ? __CTOR_LIST__ 6000000000000790 ? __DTOR_END__ 6000000000000788 ? __DTOR_LIST__ 6000000000000960 A __bss_start 6000000000000750 D __data_start 40000000000005c0 t __do_global_ctors_aux 40000000000004a0 t __do_global_dtors_aux 6000000000000960 B __dso_handle w __gmon_start__ 6000000000000940 G __ia64_app_header ...

Get Itanium® Architecture for Programmers: Understanding 64-Bit Processors and EPIC Principles now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.