HP SunSoft Pascal 4.0 Bedienungsanleitung Seite 40

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 333
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 39
16 Pascal 4.0 Users 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
Seitenansicht 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 332 333

Kommentare zu diesen Handbüchern

Keine Kommentare