aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2012-03-16 18:26:02 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2012-03-16 18:26:02 +0000
commitab260dad3930dcea79a76a1d62b2210be782c68d (patch)
tree94d6710f60390bd4f8b4aa194386e5ea54b92a98 /gdb/testsuite
parentc366c1f032f28dd7747ecc148dcec7419f42ab94 (diff)
downloadgdb-ab260dad3930dcea79a76a1d62b2210be782c68d.zip
gdb-ab260dad3930dcea79a76a1d62b2210be782c68d.tar.gz
gdb-ab260dad3930dcea79a76a1d62b2210be782c68d.tar.bz2
gdb/
PR symtab/13777 * dwarf2read.c (process_full_comp_unit): Set LOCATIONS_VALID only for GCC >=4.5. gdb/testsuite/ PR symtab/13777 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.dwarf2/dw2-skip-prologue.S2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index f4a75dd..eacbbba 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ PR symtab/13777
+ * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
+
2012-03-16 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/set_pckd_arr_elt: New testcase.
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-skip-prologue.S b/gdb/testsuite/gdb.dwarf2/dw2-skip-prologue.S
index 1d2c006..725c694 100644
--- a/gdb/testsuite/gdb.dwarf2/dw2-skip-prologue.S
+++ b/gdb/testsuite/gdb.dwarf2/dw2-skip-prologue.S
@@ -30,7 +30,7 @@
.4byte func_start /* DW_AT_low_pc */
.4byte func_end /* DW_AT_high_pc */
.ascii "main.c\0" /* DW_AT_name */
- .ascii "GNU C 4.0.0\0" /* DW_AT_producer must be >= 4.0 */
+ .ascii "GNU C 4.5.0\0" /* DW_AT_producer must be >= 4.5 */
.byte 2 /* DW_AT_language (DW_LANG_C) */
.uleb128 2 /* Abbrev: DW_TAG_subprogram */