public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/30253] New: [gdb] FAIL: gdb.gdb/python-helper.exp: pretty print type->main_type
@ 2023-03-20 16:04 vries at gcc dot gnu.org
2023-03-20 16:12 ` [Bug gdb/30253] " tromey at sourceware dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: vries at gcc dot gnu.org @ 2023-03-20 16:04 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30253
Bug ID: 30253
Summary: [gdb] FAIL: gdb.gdb/python-helper.exp: pretty print
type->main_type
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: vries at gcc dot gnu.org
Target Milestone: ---
I'm getting:
...
(outer-gdb) PASS: gdb.gdb/python-helper.exp: pretty print type
print *val->m_type->main_type^M
$2 = ^M
{name = 0x2bd7980 "int",^M
code = TYPE_CODE_INT,^M
flags = [],^M
owner = 0x2bd6de0 (gdbarch),^M
target_type = 0x0,^M
int_stuff = { bit_size = 32, bit_offset = 0 }}^M
(outer-gdb) FAIL: gdb.gdb/python-helper.exp: pretty print type->main_type
...
Test-case expects:
...
set answer [multi_line \
"$decimal = " \
"{name = $hex \"int\"," \
" code = TYPE_CODE_INT," \
" flags = \[^\r\n\]+," \
" owner = $hex \\(gdbarch\\)," \
" target_type = 0x0," \
" type_specific_field = TYPE_SPECIFIC_NONE}"]
gdb_test -prompt $outer_prompt_re "print *val->m_type->main_type" $answer
"pretty print type->main_type"
...
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug gdb/30253] [gdb] FAIL: gdb.gdb/python-helper.exp: pretty print type->main_type
2023-03-20 16:04 [Bug gdb/30253] New: [gdb] FAIL: gdb.gdb/python-helper.exp: pretty print type->main_type vries at gcc dot gnu.org
@ 2023-03-20 16:12 ` tromey at sourceware dot org
2023-03-20 16:20 ` tromey at sourceware dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: tromey at sourceware dot org @ 2023-03-20 16:12 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30253
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at sourceware dot org |tromey at sourceware dot org
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] 5+ messages in thread
* [Bug gdb/30253] [gdb] FAIL: gdb.gdb/python-helper.exp: pretty print type->main_type
2023-03-20 16:04 [Bug gdb/30253] New: [gdb] FAIL: gdb.gdb/python-helper.exp: pretty print type->main_type vries at gcc dot gnu.org
2023-03-20 16:12 ` [Bug gdb/30253] " tromey at sourceware dot org
@ 2023-03-20 16:20 ` tromey at sourceware dot org
2023-03-20 17:41 ` cvs-commit at gcc dot gnu.org
2023-03-20 17:41 ` tromey at sourceware dot org
3 siblings, 0 replies; 5+ messages in thread
From: tromey at sourceware dot org @ 2023-03-20 16:20 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30253
--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
https://sourceware.org/pipermail/gdb-patches/2023-March/198120.html
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug gdb/30253] [gdb] FAIL: gdb.gdb/python-helper.exp: pretty print type->main_type
2023-03-20 16:04 [Bug gdb/30253] New: [gdb] FAIL: gdb.gdb/python-helper.exp: pretty print type->main_type vries at gcc dot gnu.org
2023-03-20 16:12 ` [Bug gdb/30253] " tromey at sourceware dot org
2023-03-20 16:20 ` tromey at sourceware dot org
@ 2023-03-20 17:41 ` cvs-commit at gcc dot gnu.org
2023-03-20 17:41 ` tromey at sourceware dot org
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-03-20 17:41 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30253
--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom Tromey <tromey@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=505ca0bfa52845fb7793b9f2a808c7c5aa4677fd
commit 505ca0bfa52845fb7793b9f2a808c7c5aa4677fd
Author: Tom Tromey <tromey@adacore.com>
Date: Mon Mar 20 10:18:22 2023 -0600
Update python-helper.exp for type allocation changes
The type allocation changes introduced a failure in python-helper.exp
that I did not notice. The bug is that, with these patches,
arch-allocated integer types have a TYPE_SPECIFIC_INT object attached.
This patch updates the test to allow this.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30253
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug gdb/30253] [gdb] FAIL: gdb.gdb/python-helper.exp: pretty print type->main_type
2023-03-20 16:04 [Bug gdb/30253] New: [gdb] FAIL: gdb.gdb/python-helper.exp: pretty print type->main_type vries at gcc dot gnu.org
` (2 preceding siblings ...)
2023-03-20 17:41 ` cvs-commit at gcc dot gnu.org
@ 2023-03-20 17:41 ` tromey at sourceware dot org
3 siblings, 0 replies; 5+ messages in thread
From: tromey at sourceware dot org @ 2023-03-20 17:41 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30253
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
Target Milestone|--- |14.1
--- Comment #3 from Tom Tromey <tromey at sourceware dot org> ---
Fixed.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-03-20 17:41 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-20 16:04 [Bug gdb/30253] New: [gdb] FAIL: gdb.gdb/python-helper.exp: pretty print type->main_type vries at gcc dot gnu.org
2023-03-20 16:12 ` [Bug gdb/30253] " tromey at sourceware dot org
2023-03-20 16:20 ` tromey at sourceware dot org
2023-03-20 17:41 ` cvs-commit at gcc dot gnu.org
2023-03-20 17:41 ` tromey at sourceware dot 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).