aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/ChangeLog
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2019-09-22 06:14:29 +0200
committerTom de Vries <tdevries@suse.de>2019-09-22 06:14:29 +0200
commit77d036789aab73c90dc7f4c798f34748b03de726 (patch)
tree25d96888ca7949d5cc983878d4bf31a7cb167784 /gdb/testsuite/ChangeLog
parent7ab78ccbbb0d0918c293ade07bea59d789ea7d63 (diff)
downloadgdb-77d036789aab73c90dc7f4c798f34748b03de726.zip
gdb-77d036789aab73c90dc7f4c798f34748b03de726.tar.gz
gdb-77d036789aab73c90dc7f4c798f34748b03de726.tar.bz2
[gdb/testsuite] Allow some tests in gdb.base/restore.exp to be unsupported
We currently run into: ... 248 n = callee1 (n + l5); (gdb) PASS: gdb.base/restore.exp: caller5 calls callee1; return callee now print l1 $51 = <optimized out> (gdb) FAIL: gdb.base/restore.exp: caller5 calls callee1; return restored l1 \ to 32492 ... The problem is that we try to access the value of l1 in function caller5, but variable l1 has no DW_AT_location attribute. Since l1 is declared using the register keyword, it's valid for gcc to emit no DW_AT_location at -O0. Change the FAIL into an UNSUPPORTED. Tested on x86_64-linux. gdb/testsuite/ChangeLog: 2019-09-22 Tom de Vries <tdevries@suse.de> * gdb.base/restore.exp: Allow register variables to be optimized out at -O0.
Diffstat (limited to 'gdb/testsuite/ChangeLog')
-rw-r--r--gdb/testsuite/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 64c7d38..37e323f 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2019-09-22 Tom de Vries <tdevries@suse.de>
+
+ * gdb.base/restore.exp: Allow register variables to be optimized out at
+ -O0.
+
2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
* gdb.arch/spu-info.exp: Remove file.