diff --git a/gdb-fix-s390-build.diff b/gdb-fix-s390-build.diff index 990a267..0c5f890 100644 --- a/gdb-fix-s390-build.diff +++ b/gdb-fix-s390-build.diff @@ -1,7 +1,7 @@ Index: gdb-8.2/gdb/dwarf2read.c =================================================================== --- gdb-8.2.orig/gdb/dwarf2read.c 2018-09-11 15:25:32.000000000 +0200 -+++ gdb-8.2/gdb/dwarf2read.c 2018-09-12 14:53:18.000000000 +0200 ++++ gdb-8.2/gdb/dwarf2read.c 2018-09-12 15:44:50.000000000 +0200 @@ -3236,7 +3236,7 @@ create_addrmap_from_aranges (struct dwar const uint8_t offset_size = dwarf5_is_dwarf64 ? 8 : 4; if (addr + entry_length > section->buffer + section->size) @@ -65,3 +65,12 @@ Index: gdb-8.2/gdb/dwarf2read.c "address list is not properly terminated, " "ignoring .debug_aranges."), objfile_name (objfile), entry_addr - section->buffer); +@@ -5537,7 +5537,7 @@ read_debug_names_from_section (struct ob + if (addr != abbrev_table_start + abbrev_table_size) + { + warning (_("Section .debug_names in %s has abbreviation_table " +- "of size %zu vs. written as %u, ignoring .debug_names."), ++ "of size %tu vs. written as %u, ignoring .debug_names."), + filename, addr - abbrev_table_start, abbrev_table_size); + return false; + }