public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/26904] New: FAIL: gdb.ada/big_packed_array.exp: scenario=minimal: print bad
@ 2020-11-16 14:09 vries at gcc dot gnu.org
2020-11-16 14:18 ` [Bug ada/26904] " vries at gcc dot gnu.org
` (10 more replies)
0 siblings, 11 replies; 12+ messages in thread
From: vries at gcc dot gnu.org @ 2020-11-16 14:09 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=26904
Bug ID: 26904
Summary: FAIL: gdb.ada/big_packed_array.exp: scenario=minimal:
print bad
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: ada
Assignee: unassigned at sourceware dot org
Reporter: vries at gcc dot gnu.org
Target Milestone: ---
With current trunk I see this FAILS:
...
FAIL: gdb.ada/big_packed_array.exp: scenario=minimal: print bad
...
as reported here (
https://sourceware.org/pipermail/gdb-patches/2020-November/173035.html ).
This fails with gnatmake 7.5.0, and 8.4.0, but passes starting gnatmake 9.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug ada/26904] FAIL: gdb.ada/big_packed_array.exp: scenario=minimal: print bad
2020-11-16 14:09 [Bug ada/26904] New: FAIL: gdb.ada/big_packed_array.exp: scenario=minimal: print bad vries at gcc dot gnu.org
@ 2020-11-16 14:18 ` vries at gcc dot gnu.org
2020-11-16 14:20 ` vries at gcc dot gnu.org
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: vries at gcc dot gnu.org @ 2020-11-16 14:18 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=26904
--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
FAIL in more detail:
...
(gdb) PASS: gdb.ada/big_packed_array.exp: scenario=minimal: print good
print bad^M
$2 = (0 => 0 <repeats 25 times>)^M
(gdb) FAIL: gdb.ada/big_packed_array.exp: scenario=minimal: print bad
...
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug ada/26904] FAIL: gdb.ada/big_packed_array.exp: scenario=minimal: print bad
2020-11-16 14:09 [Bug ada/26904] New: FAIL: gdb.ada/big_packed_array.exp: scenario=minimal: print bad vries at gcc dot gnu.org
2020-11-16 14:18 ` [Bug ada/26904] " vries at gcc dot gnu.org
@ 2020-11-16 14:20 ` vries at gcc dot gnu.org
2020-11-16 14:20 ` vries at gcc dot gnu.org
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: vries at gcc dot gnu.org @ 2020-11-16 14:20 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=26904
--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> ---
Created attachment 12960
--> https://sourceware.org/bugzilla/attachment.cgi?id=12960&action=edit
exec
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug ada/26904] FAIL: gdb.ada/big_packed_array.exp: scenario=minimal: print bad
2020-11-16 14:09 [Bug ada/26904] New: FAIL: gdb.ada/big_packed_array.exp: scenario=minimal: print bad vries at gcc dot gnu.org
2020-11-16 14:18 ` [Bug ada/26904] " vries at gcc dot gnu.org
2020-11-16 14:20 ` vries at gcc dot gnu.org
@ 2020-11-16 14:20 ` vries at gcc dot gnu.org
2020-11-16 14:23 ` vries at gcc dot gnu.org
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: vries at gcc dot gnu.org @ 2020-11-16 14:20 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=26904
--- Comment #3 from Tom de Vries <vries at gcc dot gnu.org> ---
Created attachment 12961
--> https://sourceware.org/bugzilla/attachment.cgi?id=12961&action=edit
readelf -w output for exec
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug ada/26904] FAIL: gdb.ada/big_packed_array.exp: scenario=minimal: print bad
2020-11-16 14:09 [Bug ada/26904] New: FAIL: gdb.ada/big_packed_array.exp: scenario=minimal: print bad vries at gcc dot gnu.org
` (2 preceding siblings ...)
2020-11-16 14:20 ` vries at gcc dot gnu.org
@ 2020-11-16 14:23 ` vries at gcc dot gnu.org
2020-11-16 14:24 ` vries at gcc dot gnu.org
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: vries at gcc dot gnu.org @ 2020-11-16 14:23 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=26904
--- Comment #4 from Tom de Vries <vries at gcc dot gnu.org> ---
Created attachment 12962
--> https://sourceware.org/bugzilla/attachment.cgi?id=12962&action=edit
exec, gcc 9
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug ada/26904] FAIL: gdb.ada/big_packed_array.exp: scenario=minimal: print bad
2020-11-16 14:09 [Bug ada/26904] New: FAIL: gdb.ada/big_packed_array.exp: scenario=minimal: print bad vries at gcc dot gnu.org
` (3 preceding siblings ...)
2020-11-16 14:23 ` vries at gcc dot gnu.org
@ 2020-11-16 14:24 ` vries at gcc dot gnu.org
2020-11-16 14:29 ` vries at gcc dot gnu.org
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: vries at gcc dot gnu.org @ 2020-11-16 14:24 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=26904
--- Comment #5 from Tom de Vries <vries at gcc dot gnu.org> ---
Created attachment 12963
--> https://sourceware.org/bugzilla/attachment.cgi?id=12963&action=edit
readelf -w output for exec, gcc 9
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug ada/26904] FAIL: gdb.ada/big_packed_array.exp: scenario=minimal: print bad
2020-11-16 14:09 [Bug ada/26904] New: FAIL: gdb.ada/big_packed_array.exp: scenario=minimal: print bad vries at gcc dot gnu.org
` (4 preceding siblings ...)
2020-11-16 14:24 ` vries at gcc dot gnu.org
@ 2020-11-16 14:29 ` vries at gcc dot gnu.org
2021-07-27 13:16 ` vries at gcc dot gnu.org
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: vries at gcc dot gnu.org @ 2020-11-16 14:29 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=26904
Tom de Vries <vries at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at sourceware dot org
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug ada/26904] FAIL: gdb.ada/big_packed_array.exp: scenario=minimal: print bad
2020-11-16 14:09 [Bug ada/26904] New: FAIL: gdb.ada/big_packed_array.exp: scenario=minimal: print bad vries at gcc dot gnu.org
` (5 preceding siblings ...)
2020-11-16 14:29 ` vries at gcc dot gnu.org
@ 2021-07-27 13:16 ` vries at gcc dot gnu.org
2021-07-27 14:55 ` [Bug testsuite/26904] " vries at gcc dot gnu.org
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: vries at gcc dot gnu.org @ 2021-07-27 13:16 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=26904
--- Comment #6 from Tom de Vries <vries at gcc dot gnu.org> ---
Bisected to:
...
commit 21afc4facd1ac4f62f7bd8ca0a3997fdb8ed1230 (HEAD)
Author: Eric Botcazou <ebotcazou@adacore.com>
AuthorDate: Thu May 31 10:46:02 2018 +0000
Commit: Pierre-Marie de Rodat <pmderodat@gcc.gnu.org>
CommitDate: Thu May 31 10:46:02 2018 +0000
[Ada] Fix strange behavior of Object_Size for packed array subtype
2018-05-31 Eric Botcazou <ebotcazou@adacore.com>
gcc/ada/
* gcc-interface/decl.c (gnat_to_gnu_entity) <discrete_type>: Do not
deal with the ___XP suffix for packed array types here...
<E_Array_Subtype>: ...or here when processing the implementation
type
but when processing the original type instead. Do not reuse the
DECL
of the implementation type for the original type. Tidy up.
From-SVN: r260999
...
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug testsuite/26904] FAIL: gdb.ada/big_packed_array.exp: scenario=minimal: print bad
2020-11-16 14:09 [Bug ada/26904] New: FAIL: gdb.ada/big_packed_array.exp: scenario=minimal: print bad vries at gcc dot gnu.org
` (6 preceding siblings ...)
2021-07-27 13:16 ` vries at gcc dot gnu.org
@ 2021-07-27 14:55 ` vries at gcc dot gnu.org
2021-07-27 14:56 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: vries at gcc dot gnu.org @ 2021-07-27 14:55 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=26904
Tom de Vries <vries at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|ada |testsuite
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug testsuite/26904] FAIL: gdb.ada/big_packed_array.exp: scenario=minimal: print bad
2020-11-16 14:09 [Bug ada/26904] New: FAIL: gdb.ada/big_packed_array.exp: scenario=minimal: print bad vries at gcc dot gnu.org
` (7 preceding siblings ...)
2021-07-27 14:55 ` [Bug testsuite/26904] " vries at gcc dot gnu.org
@ 2021-07-27 14:56 ` cvs-commit at gcc dot gnu.org
2021-07-27 15:14 ` cvs-commit at gcc dot gnu.org
2021-07-27 15:15 ` vries at gcc dot gnu.org
10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-07-27 14:56 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=26904
--- Comment #7 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom de Vries <vries@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f766f79a1f40a0b91fee711b83e204789398c6b6
commit f766f79a1f40a0b91fee711b83e204789398c6b6
Author: Tom de Vries <tdevries@suse.de>
Date: Tue Jul 27 16:56:23 2021 +0200
[gdb/testsuite] Add xfail for PR gcc/101643
With gcc 8.5.0 I run into:
...
(gdb) print bad^M
$2 = (0 => 0 <repeats 25 times>)^M
(gdb) FAIL: gdb.ada/big_packed_array.exp: scenario=minimal: print bad
...
while with gcc 9.3.1 we have instead:
...
(gdb) print bad^M
$2 = (false <repeats 196 times>)^M
(gdb) PASS: gdb.ada/big_packed_array.exp: scenario=minimal: print bad
...
This is caused by gcc PR, which I've filed at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101643 "[debug, ada] packed
array
not described as packed".
Fix by marking this as XFAIL.
Tested on x86_64-linux.
gdb/ChangeLog:
2021-07-27 Tom de Vries <tdevries@suse.de>
PR testsuite/26904
* gdb/testsuite/gdb.ada/big_packed_array.exp: Add xfail.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug testsuite/26904] FAIL: gdb.ada/big_packed_array.exp: scenario=minimal: print bad
2020-11-16 14:09 [Bug ada/26904] New: FAIL: gdb.ada/big_packed_array.exp: scenario=minimal: print bad vries at gcc dot gnu.org
` (8 preceding siblings ...)
2021-07-27 14:56 ` cvs-commit at gcc dot gnu.org
@ 2021-07-27 15:14 ` cvs-commit at gcc dot gnu.org
2021-07-27 15:15 ` vries at gcc dot gnu.org
10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-07-27 15:14 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=26904
--- Comment #8 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The gdb-11-branch branch has been updated by Tom de Vries
<vries@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c12608fcffc8ae35f8651b35f622cdfd1b0e40e7
commit c12608fcffc8ae35f8651b35f622cdfd1b0e40e7
Author: Tom de Vries <tdevries@suse.de>
Date: Tue Jul 27 17:14:18 2021 +0200
[gdb/testsuite] Add xfail for PR gcc/101643
With gcc 8.5.0 I run into:
...
(gdb) print bad^M
$2 = (0 => 0 <repeats 25 times>)^M
(gdb) FAIL: gdb.ada/big_packed_array.exp: scenario=minimal: print bad
...
while with gcc 9.3.1 we have instead:
...
(gdb) print bad^M
$2 = (false <repeats 196 times>)^M
(gdb) PASS: gdb.ada/big_packed_array.exp: scenario=minimal: print bad
...
This is caused by gcc PR, which I've filed at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101643 "[debug, ada] packed
array
not described as packed".
Fix by marking this as XFAIL.
Tested on x86_64-linux.
gdb/ChangeLog:
2021-07-27 Tom de Vries <tdevries@suse.de>
PR testsuite/26904
* gdb/testsuite/gdb.ada/big_packed_array.exp: Add xfail.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug testsuite/26904] FAIL: gdb.ada/big_packed_array.exp: scenario=minimal: print bad
2020-11-16 14:09 [Bug ada/26904] New: FAIL: gdb.ada/big_packed_array.exp: scenario=minimal: print bad vries at gcc dot gnu.org
` (9 preceding siblings ...)
2021-07-27 15:14 ` cvs-commit at gcc dot gnu.org
@ 2021-07-27 15:15 ` vries at gcc dot gnu.org
10 siblings, 0 replies; 12+ messages in thread
From: vries at gcc dot gnu.org @ 2021-07-27 15:15 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=26904
Tom de Vries <vries at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |11.1
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #9 from Tom de Vries <vries at gcc dot gnu.org> ---
Patch adding xfail added to trunk and gdb-11-branch, marking resolved-fixed.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2021-07-27 15:15 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-16 14:09 [Bug ada/26904] New: FAIL: gdb.ada/big_packed_array.exp: scenario=minimal: print bad vries at gcc dot gnu.org
2020-11-16 14:18 ` [Bug ada/26904] " vries at gcc dot gnu.org
2020-11-16 14:20 ` vries at gcc dot gnu.org
2020-11-16 14:20 ` vries at gcc dot gnu.org
2020-11-16 14:23 ` vries at gcc dot gnu.org
2020-11-16 14:24 ` vries at gcc dot gnu.org
2020-11-16 14:29 ` vries at gcc dot gnu.org
2021-07-27 13:16 ` vries at gcc dot gnu.org
2021-07-27 14:55 ` [Bug testsuite/26904] " vries at gcc dot gnu.org
2021-07-27 14:56 ` cvs-commit at gcc dot gnu.org
2021-07-27 15:14 ` cvs-commit at gcc dot gnu.org
2021-07-27 15:15 ` vries at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).