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

Unified Diff: gdb/testsuite/gdb.dwarf2/dw2-bad-parameter-type.S

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 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
Index: gdb/testsuite/gdb.dwarf2/dw2-bad-parameter-type.S
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-bad-parameter-type.S b/gdb/testsuite/gdb.dwarf2/dw2-bad-parameter-type.S
index 932c4331431be3dbfb08f05e0a8d53e0e14e1693..d0f84ae0996f88f4fae7e2da06b7a3112c55b498 100644
--- a/gdb/testsuite/gdb.dwarf2/dw2-bad-parameter-type.S
+++ b/gdb/testsuite/gdb.dwarf2/dw2-bad-parameter-type.S
@@ -15,10 +15,10 @@
.section .debug_info
debug_start:
- .long debug_end - 1f /* Length of Compilation Unit Info */
+ .4byte debug_end - 1f /* Length of Compilation Unit Info */
1:
.2byte 0x3 /* DWARF version number */
- .long .Ldebug_abbrev0 /* Offset Into Abbrev. Section */
+ .4byte .Ldebug_abbrev0 /* Offset Into Abbrev. Section */
.byte 0x4 /* Pointer Size (in bytes) */
.uleb128 0x1 /* (DIE (0xb) DW_TAG_compile_unit) */
.ascii "GNU C 4.4.3\0" /* DW_AT_producer */
@@ -27,12 +27,12 @@ debug_start:
.uleb128 0x4 /* (DIE (0x3c) DW_TAG_subprogram) */
.ascii "f\0" /* DW_AT_name */
/* Value 0 would require has_section_at_zero != 0 (which is true, though). */
- .long 1 /* DW_AT_low_pc */
- .long 2 /* DW_AT_high_pc */
+ .4byte 1 /* DW_AT_low_pc */
+ .4byte 2 /* DW_AT_high_pc */
.byte 0x1 /* DW_AT_prototyped */
.uleb128 0x5 /* (DIE (0x42) DW_TAG_formal_parameter) */
/* Invalid value. */
- .long 0x0 /* DW_AT_type */
+ .4byte 0x0 /* DW_AT_type */
.byte 0x0 /* end of children of DIE 0x3c */
.byte 0x0 /* end of children of DIE 0xb */
debug_end:
« no previous file with comments | « gdb/testsuite/gdb.dwarf2/dw2-anonymous-func.exp ('k') | gdb/testsuite/gdb.dwarf2/dw2-bad-parameter-type.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698