Handle CRLF when reading XML on Windows
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.dwarf2 / dw2-case-insensitive-debug.S
index 0cd6f70e9b8211dcf561573bbc87d7a3c0c12de5..7f5e1a5d4223ee2e503801c01987868c50674b12 100644 (file)
@@ -1,6 +1,6 @@
 /* This testcase is part of GDB, the GNU debugger.
 
-   Copyright 2011-2016 Free Software Foundation, Inc.
+   Copyright 2011-2019 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
        .byte           0                       /* End of children of CU */
 .Lcu1_end:
 
+       /* The .debug_names-based index support depends on
+          .debug_aranges generated by GCC.  (.gdb_index includes a
+          gdb-generated map instead.)  */
+       .section        .debug_aranges,"",@progbits
+       .4byte  .Laranges_end - .Laranges_start // Length of Address Ranges Info
+.Laranges_start:
+       .2byte  0x2     // DWARF Version
+       .4byte  .Lcu1_begin // .Ldebug_info0 - Offset of Compilation Unit Info
+       .byte   PTRBITS / 8     // Size of Address
+       .byte   0       // Size of Segment Descriptor
+       .2byte  0       // Pad to 16 byte boundary
+       .2byte  0
+       PTRBYTE cu_text_start   // Address
+       PTRBYTE 0x1000 // cu_text_end - cu_text_start   // Length
+       PTRBYTE 0
+       PTRBYTE 0
+.Laranges_end:
+
 /* Abbrev table */
        .section .debug_abbrev
 .Labbrev1_begin:
This page took 0.025633 seconds and 4 git commands to generate.