noft Utility
nld and noft Manual — 520384-003
4 -7
Debugging With noft
Debugging With noft
The dumping options (listed in
Table 4-2
on page 4-5) can be useful when debugging
optimized native object code, especially when you must debug code at the RISC
instruction-level.
Example 4-3
is followed by
DUMPPROC
listings of its
compute()
function compiled at
optimization levels 0, 1, and 2. After the listings is a comparison of optimization levels.
Note.
You must use Visual Inspect, rather than Inspect, to debug PIC executable files.
Example 4-3. C Program
long compute(long a[]);
int main (void)
{
long z[10];
long x;
x=compute(z);
return 0;
}
long compute(long a[])
{
long b;
int c,i;
b=0;
for (i=0; i<20; i++)
b += a[i];
return b;
}
Содержание nld
Страница 12: ...Contents nld and noft Manual 520384 003 x ...
Страница 16: ...What s New in This Manual nld and noft Manual 520384 003 xiv Miscellaneous ...
Страница 22: ...About This Manual nld and noft Manual 520384 003 xx Change Bar Notation ...
Страница 28: ...Introduction to the Utilities nld and noft Manual 520384 003 1 6 strip ...
Страница 60: ...nld Utility nld and noft Manual 520384 003 2 32 Declaration and Definition ...
Страница 78: ...nld Options nld and noft Manual 520384 003 3 18 y ...
Страница 90: ...noft Utility nld and noft Manual 520384 003 4 12 Debugging With noft ...
Страница 150: ...strip Utility nld and noft Manual 520384 003 7 2 ...
Страница 160: ...Converting From Binder to nld and noft nld and noft Manual 520384 003 9 8 Comparing Binder Commands to noft Options ...
Страница 242: ...nld Diagnostic Messages nld and noft Manual 520384 003 10 82 Informational Messages ...
Страница 278: ...noft Diagnostic Messages nld and noft Manual 520384 003 11 36 Syntax Errors ...
Страница 286: ...ar Diagnostic Messages nld and noft Manual 520384 003 12 8 ...
Страница 314: ...Sample nld and noft Session nld and noft Manual 520384 003 A 28 LISTSRLFIXUPS ...
Страница 330: ...Index nld and noft Manual 520384 003 Index 10 Special Characters ...