The 32-bit hppa*-*-hpux* does not support dwarf debugging. Gnat is not supported on 64-bit hpux.
Dave -- John David Anglin dave.ang...@bell.net
2017-01-28 John David Anglin <dang...@gcc.gnu.org> * gnat.dg/debug7.adb: Skip on hppa*-*-hpux*. * gnat.dg/debug9.adb: Likewise. Index: gnat.dg/debug7.adb =================================================================== --- gnat.dg/debug7.adb (revision 244960) +++ gnat.dg/debug7.adb (working copy) @@ -1,4 +1,5 @@ -- { dg-do compile } +-- { dg-skip-if "No dwarf-2 support" { hppa*-*-hpux* } "*" "" } -- { dg-options "-cargs -gdwarf-2 -gstrict-dwarf -dA -margs" } -- { dg-final { scan-assembler "DW_TAG_imported_decl" } } Index: gnat.dg/debug9.adb =================================================================== --- gnat.dg/debug9.adb (revision 244960) +++ gnat.dg/debug9.adb (working copy) @@ -7,6 +7,7 @@ -- some hackish way to check that types are output in the proper context (i.e. -- at global or local scope). -- +-- { dg-skip-if "No dwarf-4 support" { hppa*-*-hpux* } "*" "" } -- { dg-options "-cargs -gdwarf-4 -fdebug-types-section -dA -margs" } -- { dg-final { scan-assembler-times "\\(DIE \\(0x\[a-f0-9\]*\\) DW_TAG_type_unit\\)" 0 } }