16
Pascal 4.0 User’s Guide
2
Try compiling
SegViol.p
with
–g
:
The program prints the ASCII values of character variables.
If you compile some modules with
–g
and others without, the line numbers
may not be accurate for all the routines.
hostname% pc -g SegViol.p
hostname% a.out
*** a.out terminated by signal 11: segmentation violation
*** Traceback being written to a.out.trace
Abort (core dumped)
hostname% more a.out.trace
*** Stacktrace of a.out
*** Program terminated due to segmentation violation
[3] __PC0__sigdie(0xb, 0xefffedf0, 0xefffec30, 0x0, 0x1, 0x0), at 0x12128
---- called from signal handler with signal 11 (SIGSEGV) ------
[4] ErrorInHere(), line 12 in “SegViol.p”
[5] Call2(), line 18 in "SegViol.p"
[6] Call1(), line 21 in "SegViol.p"
[7] program(), line 25 in "SegViol.p"
detaching from process 17285
Содержание SunSoft Pascal 4.0
Страница 14: ...xiv Pascal 4 0 User s Guide ...
Страница 16: ...xvi Pascal 4 0 User s Guide ...
Страница 30: ...6 Pascal 4 0 User s Guide 1 ...
Страница 160: ...136 Pascal 4 0 User s Guide 6 ...
Страница 268: ...244 Pascal 4 0 User s Guide 11 ...
Страница 320: ...296 Pascal 4 0 User s Guide B ...
Страница 331: ...Index 307 ...
Страница 333: ......