public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/29055] New: [gdb/testsuite] FAIL: gdb.ada/ghost.exp: print value (timeout)
@ 2022-04-13  5:44 vries at gcc dot gnu.org
  2022-04-14 19:09 ` [Bug testsuite/29055] " tromey at sourceware dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: vries at gcc dot gnu.org @ 2022-04-13  5:44 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=29055

            Bug ID: 29055
           Summary: [gdb/testsuite] FAIL: gdb.ada/ghost.exp: print value
                    (timeout)
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: testsuite
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

On openSUSE Tumbleweed I run into:
...
(gdb) print value^M
Multiple matches for value^M
[0] cancel^M
[1] ada.strings.maps.value (<ref> ada.strings.maps.character_mapping;
character) return character at a-strmap.adb:317^M
[2] pck.value at
/data/vries/gdb_versions/devel/binutils-gdb.git/gdb/testsuite/gdb.ada/ghost/pck.ads:17^M
[3] system.object_reader.value (<ref> system.object_reader.object_symbol)
return system.object_reader.uint64 at s-objrea.adb:2274^M
[4] system.traceback.symbolic.value (system.address) return string at
s-trasym.adb:200^M
> FAIL: gdb.ada/ghost.exp: print value (timeout)
...

-- 
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 testsuite/29055] [gdb/testsuite] FAIL: gdb.ada/ghost.exp: print value (timeout)
  2022-04-13  5:44 [Bug testsuite/29055] New: [gdb/testsuite] FAIL: gdb.ada/ghost.exp: print value (timeout) vries at gcc dot gnu.org
@ 2022-04-14 19:09 ` tromey at sourceware dot org
  2022-06-09  9:32 ` vries at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: tromey at sourceware dot org @ 2022-04-14 19:09 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=29055

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at sourceware dot org

--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
We should probably just rename the "value" in the test to 
something that's never going to clash with libgnat.

-- 
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 testsuite/29055] [gdb/testsuite] FAIL: gdb.ada/ghost.exp: print value (timeout)
  2022-04-13  5:44 [Bug testsuite/29055] New: [gdb/testsuite] FAIL: gdb.ada/ghost.exp: print value (timeout) vries at gcc dot gnu.org
  2022-04-14 19:09 ` [Bug testsuite/29055] " tromey at sourceware dot org
@ 2022-06-09  9:32 ` vries at gcc dot gnu.org
  2022-06-09 22:01 ` tromey at sourceware dot org
  2022-06-10  6:48 ` vries at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: vries at gcc dot gnu.org @ 2022-06-09  9:32 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=29055

--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> ---
How about prefixing with the package name:
...
diff --git a/gdb/testsuite/gdb.ada/ghost.exp b/gdb/testsuite/gdb.ada/ghost.exp
index 7f92b130eff..ece03dbe2f8 100644
--- a/gdb/testsuite/gdb.ada/ghost.exp
+++ b/gdb/testsuite/gdb.ada/ghost.exp
@@ -32,6 +32,6 @@ if ![runto "main.adb:$bp_location" ] then {
   return
 }

-gdb_test "print value" " = 64 '@'"
-gdb_test "print ghost_value" " = 64 '@'"
-gdb_test "print value2" " = 33 '!'"
+gdb_test "print pck.value" " = 64 '@'"
+gdb_test "print pck.ghost_value" " = 64 '@'"
+gdb_test "print gpck.value2" " = 33 '!'"
...
?

That looks like a more reliable way to get the names we want.

-- 
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 testsuite/29055] [gdb/testsuite] FAIL: gdb.ada/ghost.exp: print value (timeout)
  2022-04-13  5:44 [Bug testsuite/29055] New: [gdb/testsuite] FAIL: gdb.ada/ghost.exp: print value (timeout) vries at gcc dot gnu.org
  2022-04-14 19:09 ` [Bug testsuite/29055] " tromey at sourceware dot org
  2022-06-09  9:32 ` vries at gcc dot gnu.org
@ 2022-06-09 22:01 ` tromey at sourceware dot org
  2022-06-10  6:48 ` vries at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: tromey at sourceware dot org @ 2022-06-09 22:01 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=29055

--- Comment #3 from Tom Tromey <tromey at sourceware dot org> ---
Yeah, I think that would be fine.

-- 
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 testsuite/29055] [gdb/testsuite] FAIL: gdb.ada/ghost.exp: print value (timeout)
  2022-04-13  5:44 [Bug testsuite/29055] New: [gdb/testsuite] FAIL: gdb.ada/ghost.exp: print value (timeout) vries at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2022-06-09 22:01 ` tromey at sourceware dot org
@ 2022-06-10  6:48 ` vries at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: vries at gcc dot gnu.org @ 2022-06-10  6:48 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=29055

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |13.1

--- Comment #4 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Tom Tromey from comment #3)
> Yeah, I think that would be fine.

Fixed like that:
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=84860e85919f7f09328ae1f84303435ff2e6ee64

-- 
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:[~2022-06-10  6:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-13  5:44 [Bug testsuite/29055] New: [gdb/testsuite] FAIL: gdb.ada/ghost.exp: print value (timeout) vries at gcc dot gnu.org
2022-04-14 19:09 ` [Bug testsuite/29055] " tromey at sourceware dot org
2022-06-09  9:32 ` vries at gcc dot gnu.org
2022-06-09 22:01 ` tromey at sourceware dot org
2022-06-10  6:48 ` 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).