Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(275)

Unified Diff: gdb/testsuite/gdb.dwarf2/fission-base.S

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/testsuite/gdb.dwarf2/dwzbuildid.exp ('k') | gdb/testsuite/gdb.dwarf2/fission-base.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/testsuite/gdb.dwarf2/fission-base.S
diff --git a/gdb/testsuite/gdb.dwarf2/fission-base.S b/gdb/testsuite/gdb.dwarf2/fission-base.S
index 94ba06834cb746f0c9f3581fee4704eb46bf3f2f..e670423a92bb8dfd8f5bb306852767d1e5e987ef 100644
--- a/gdb/testsuite/gdb.dwarf2/fission-base.S
+++ b/gdb/testsuite/gdb.dwarf2/fission-base.S
@@ -1,6 +1,6 @@
/* This testcase is part of GDB, the GNU debugger.
- Copyright 2012 Free Software Foundation, Inc.
+ Copyright 2012-2013 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
@@ -76,7 +76,7 @@ main:
.LFE1:
.size main, .-main
.Letext0:
- .section .debug_info.dwo,"",@progbits
+ .section .debug_info.dwo,"e",@progbits
.Ldebug_info0:
.4byte .Ldebug_info0_end - .Ldebug_info0 - 4 # Length of Compilation Unit Info
.2byte 0x4 # DWARF version number
@@ -86,31 +86,31 @@ main:
.ascii "GNU C 4.6.x-fission\0" # DW_AT_producer
.byte 0x1 # DW_AT_language
.ascii "fission-base.c\0" # DW_AT_name
- .ascii "/tmp/src/gdb/testsuite/gdb.dwarf2\0" # DW_AT_comp_dir
- .byte 0 # DW_AT_GNU_dwo_id
- .byte 0
- .byte 0
- .byte 0
- .byte 0
- .byte 0
- .byte 0
- .byte 0
+ .ascii "/tmp/src/gdb/testsuite\0" # DW_AT_comp_dir
+ .byte 1 # DW_AT_GNU_dwo_id
+ .byte 2
+ .byte 3
+ .byte 4
+ .byte 5
+ .byte 6
+ .byte 7
+ .byte 8
.uleb128 0x2 # (DIE (0x89) DW_TAG_subprogram)
# DW_AT_external
.ascii "func\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (fission-base.c)
.byte 0x13 # DW_AT_decl_line
# DW_AT_prototyped
- .4byte .Ldebug_info0_int # DW_AT_type
+ .4byte .Ldebug_info0_int - .Ldebug_info0 # DW_AT_type
.4byte 0x0 # DW_AT_ranges
.uleb128 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
- .4byte .Ldebug_info0_int # DW_AT_sibling
+ .4byte .Ldebug_info0_int - .Ldebug_info0 # DW_AT_sibling
.uleb128 0x3 # (DIE (0xa4) DW_TAG_formal_parameter)
.ascii "arg\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (fission-base.c)
.byte 0x13 # DW_AT_decl_line
- .4byte .Ldebug_info0_int # DW_AT_type
+ .4byte .Ldebug_info0_int - .Ldebug_info0 # DW_AT_type
.uleb128 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 -20
@@ -125,7 +125,7 @@ main:
.ascii "main\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (fission-base.c)
.byte 0x19 # DW_AT_decl_line
- .4byte .Ldebug_info0_int # DW_AT_type
+ .4byte .Ldebug_info0_int - .Ldebug_info0 # DW_AT_type
.uleb128 0x1 # DW_AT_low_pc
.8byte .LFE1-.LFB1 # DW_AT_high_pc
.uleb128 0x1 # DW_AT_frame_base
@@ -142,22 +142,20 @@ main:
.8byte .Ltext0 # DW_AT_low_pc
.8byte .Letext0-.Ltext0 # DW_AT_high_pc
.4byte .Ldebug_line0 # DW_AT_stmt_list
- .ascii "/tmp/src/gdb/testsuite/gdb.dwarf2\0" # DW_AT_comp_dir
- # Normally dwo_name would be "fission-base.dwo".
- # Simplification: Leave the DWO contents in the executable.
- .ascii "fission-base\0" # DW_AT_GNU_dwo_name
+ .ascii "/tmp/src/gdb/testsuite\0" # DW_AT_comp_dir
+ .ascii "fission-base.dwo\0" # DW_AT_GNU_dwo_name
.4byte .Ldebug_pubnames0 # DW_AT_GNU_pubnames
.4byte .Ldebug_pubtypes0 # DW_AT_GNU_pubtypes
.4byte .Ldebug_addr0_begin # DW_AT_GNU_addr_base
.4byte .Ldebug_ranges0_begin # DW_AT_GNU_ranges_base
- .byte 0 # DW_AT_GNU_dwo_id
- .byte 0
- .byte 0
- .byte 0
- .byte 0
- .byte 0
- .byte 0
- .byte 0
+ .byte 1 # DW_AT_GNU_dwo_id
+ .byte 2
+ .byte 3
+ .byte 4
+ .byte 5
+ .byte 6
+ .byte 7
+ .byte 8
.Lskeleton_debug_info0_end:
.section .debug_abbrev,"",@progbits
.Lskeleton_debug_abbrev0:
@@ -187,7 +185,7 @@ main:
.byte 0
.byte 0
.byte 0 # end of skeleton .debug_abbrev
- .section .debug_abbrev.dwo,"",@progbits
+ .section .debug_abbrev.dwo,"e",@progbits
.Ldebug_abbrev0:
.uleb128 0x1 # (abbrev code)
.uleb128 0x11 # (TAG: DW_TAG_compile_unit)
@@ -275,26 +273,29 @@ main:
.byte 0
.byte 0
.byte 0
- .section .debug_pubnames,"",@progbits
+ .section .debug_gnu_pubnames,"",@progbits
.Ldebug_pubnames0:
- .4byte 0x20 # Length of Public Names Info
- .2byte 0x2 # DWARF Version
- .4byte .Lskeleton_debug_info0 # Offset of Compilation Unit Info
- .4byte 0xd2 # Compilation Unit Length
- .4byte 0x89 # DIE offset
+ .long 0x22 # Pub Info Length
+ .value 0x2 # DWARF Version
+ .long .Lskeleton_debug_info0 # Offset of Compilation Unit Info
+ .long 0x59 # Compilation Unit Length
+ .long 0x18 # DIE offset
+ .byte 0x30 # GDB-index flags
.ascii "func\0" # external name
- .4byte 0xba # DIE offset
+ .long 0x45 # DIE offset
+ .byte 0x30 # GDB-index flags
.ascii "main\0" # external name
- .4byte 0
- .section .debug_pubtypes,"",@progbits
+ .long 0
+ .section .debug_gnu_pubtypes,"",@progbits
.Ldebug_pubtypes0:
- .4byte 0x16 # Length of Public Type Names Info
- .2byte 0x2 # DWARF Version
- .4byte .Lskeleton_debug_info0 # Offset of Compilation Unit Info
- .4byte 0xd2 # Compilation Unit Length
- .4byte .Ldebug_info0_int # DIE offset
+ .long 0x17 # Pub Info Length
+ .value 0x2 # DWARF Version
+ .long .Lskeleton_debug_info0 # Offset of Compilation Unit Info
+ .long 0x59 # Compilation Unit Length
+ .long 0x3e # DIE offset
+ .byte 0x90 # GDB-index flags
.ascii "int\0" # external name
- .4byte 0
+ .long 0
.section .debug_aranges,"",@progbits
.4byte 0x2c # Length of Address Ranges Info
.2byte 0x2 # DWARF Version
@@ -309,7 +310,7 @@ main:
.8byte 0
.section .debug_line,"",@progbits
.Ldebug_line0:
- .section .debug_line.dwo,"",@progbits
+ .section .debug_line.dwo,"e",@progbits
.Lskeleton_debug_line0:
.4byte .LELT0-.LSLT0 # Length of Source Line Info
.LSLT0:
« no previous file with comments | « gdb/testsuite/gdb.dwarf2/dwzbuildid.exp ('k') | gdb/testsuite/gdb.dwarf2/fission-base.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698