summaryrefslogtreecommitdiff
path: root/gdb/testsuite/ChangeLog
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2020-05-25 12:01:52 +0200
committerTom de Vries <tdevries@suse.de>2020-05-25 12:01:52 +0200
commit465e1b0f196faea1fc949863af023b762ef86188 (patch)
treeb9f0d0b7589989f448cc93f54890ac962b6901f2 /gdb/testsuite/ChangeLog
parent3c5a0e025bf0163ce6a540ac0a18a91f97e215a3 (diff)
downloadbinutils-gdb-465e1b0f196faea1fc949863af023b762ef86188.tar.gz
[gdb/testsuite] Fix exec_is_pie with gold linker
When running test-case gdb.base/break-interp.exp with target board gold, we run into: ... gdb compile failed, pie failed to generate PIE executable ... The problem is that the proc exec_is_pie uses the PIE flag in the readelf -d output, which doesn't seem to be set by the gold linker. Instead, use the "Type" field in the readelf -h output. Tested on x86_64-linux. gdb/testsuite/ChangeLog: 2020-05-25 Tom de Vries <tdevries@suse.de> PR testsuite/26031 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
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 93d5e705808..d372b503909 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2020-05-25 Tom de Vries <tdevries@suse.de>
+ PR testsuite/26031
+ * lib/gdb.exp (exec_is_pie): Test readelf -h output.
+
+2020-05-25 Tom de Vries <tdevries@suse.de>
+
* boards/gold.exp: New file.
2020-05-23 Tom Tromey <tom@tromey.com>