public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/29420] New: [gdb/testsuite] FAIL: gdb.ada/convvar_comp.exp: print $item.started
@ 2022-07-27 16:06 vries at gcc dot gnu.org
  2022-07-27 16:12 ` [Bug testsuite/29420] " vries at gcc dot gnu.org
  2022-07-29 14:13 ` vries at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: vries at gcc dot gnu.org @ 2022-07-27 16:06 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 29420
           Summary: [gdb/testsuite] FAIL: gdb.ada/convvar_comp.exp: print
                    $item.started
           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 aarch64 I run into this failure with gcc 7.5.0:
...
(gdb) print $item.started^M
$1 = (-5312, 65535, 4202476)^M
(gdb) FAIL: gdb.ada/convvar_comp.exp: print $item.started
...

This looks like incorrect location information.  Passes fine on openSUSE
Tumbleweed with gcc 12.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug testsuite/29420] [gdb/testsuite] FAIL: gdb.ada/convvar_comp.exp: print $item.started
  2022-07-27 16:06 [Bug testsuite/29420] New: [gdb/testsuite] FAIL: gdb.ada/convvar_comp.exp: print $item.started vries at gcc dot gnu.org
@ 2022-07-27 16:12 ` vries at gcc dot gnu.org
  2022-07-29 14:13 ` vries at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: vries at gcc dot gnu.org @ 2022-07-27 16:12 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
Fixed by:
...
diff --git a/gdb/testsuite/gdb.ada/convvar_comp.exp
b/gdb/testsuite/gdb.ada/convvar_comp.exp
index ebc2659aeaa..c3d839cc66f 100644
--- a/gdb/testsuite/gdb.ada/convvar_comp.exp
+++ b/gdb/testsuite/gdb.ada/convvar_comp.exp
@@ -30,7 +30,14 @@ if ![runto "break_me" ] then {
   return
 }

+set val ""
+gdb_test_multiple "print item.started" "" {
+    -re -wrap " = \\((.*)\\)" {
+       set val $expect_out(1,string)
+    }
+}
+
 gdb_test_no_output "set variable \$item := item"

 gdb_test "print \$item.started" \
-         " = \\(0, 0, 0\\)"
+    " = \\($val\\)"
...

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug testsuite/29420] [gdb/testsuite] FAIL: gdb.ada/convvar_comp.exp: print $item.started
  2022-07-27 16:06 [Bug testsuite/29420] New: [gdb/testsuite] FAIL: gdb.ada/convvar_comp.exp: print $item.started vries at gcc dot gnu.org
  2022-07-27 16:12 ` [Bug testsuite/29420] " vries at gcc dot gnu.org
@ 2022-07-29 14:13 ` vries at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: vries at gcc dot gnu.org @ 2022-07-29 14:13 UTC (permalink / raw)
  To: gdb-prs

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

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

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

--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> ---
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=5ec878132bb39fb43e081dcf53e42aca202b24d9

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-07-29 14:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-27 16:06 [Bug testsuite/29420] New: [gdb/testsuite] FAIL: gdb.ada/convvar_comp.exp: print $item.started vries at gcc dot gnu.org
2022-07-27 16:12 ` [Bug testsuite/29420] " vries at gcc dot gnu.org
2022-07-29 14:13 ` 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).