DWARF definition

This section defines the "Debug with Arbitrary Record Format" (DWARF) debugging format for the S/390 processor family. The S/390 ABI does not define a debug format. However, all systems that do implement DWARF shall use the following definitions.

DWARF is a specification developed for symbolic source-level debugging. The debugging information format does not favor the design of any compiler or debugger.

The DWARF definition requires some machine-specific definitions. The register number mapping is specified for the S/390 processors in Table 27.

Table 27. DWARF register number mapping

DWARF number

S/390 register

0-15

gpr0-gpr15

16

fpr0

17

fpr2

18

fpr4

19

fpr6

20

fpr1

21

fpr3

22

fpr5

23

fpr7

24

fpr8

25

fpr10

26

fpr12

27

fpr14

28

fpr9

29

fpr11

30

fpr13

31

fpr15

32–47

cr0-cr15

48–63

ar0-ar15

64

PSW mask

65

PSW address