public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/30539] New: [gdb/testsuite] FAIL: gdb.ada/out_of_line_in_inlined.exp: scenario=all: run to foo_o224_021.child1.child2
@ 2023-06-12  7:27 vries at gcc dot gnu.org
  2023-06-12  9:14 ` [Bug testsuite/30539] " cvs-commit at gcc dot gnu.org
  2023-06-12  9:15 ` vries at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: vries at gcc dot gnu.org @ 2023-06-12  7:27 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 30539
           Summary: [gdb/testsuite] FAIL:
                    gdb.ada/out_of_line_in_inlined.exp: scenario=all: run
                    to foo_o224_021.child1.child2
           Product: gdb
           Version: 13.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: testsuite
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

With a gdb 13.1 based package on openSUSE Factory i586, I run into:
...
(gdb) run ^M
Starting program:
/home/abuild/rpmbuild/BUILD/gdb-13.2/build-i586-suse-linux/gdb/testsuite.unix.-m32.-fno-PIE.-no-pie/outputs/gdb.ada/out_of_line_in_inlined/foo_o224_021-all
^M
[Thread debugging using libthread_db enabled]^M
Using host libthread_db library "/lib/libthread_db.so.1".^M
^M
Breakpoint 1.1, foo_o224_021.child1.child2 (s=...) at
/home/abuild/rpmbuild/BUILD/gdb-13.2/gdb/testsuite/gdb.ada/out_of_line_in_inlined/foo_o224_021.adb:26^M
26                  for C of S loop^M
(gdb) FAIL: gdb.ada/out_of_line_in_inlined.exp: scenario=all: run to
foo_o224_021.child1.child2
...

The test-case checks for "Breakpoint $decimal", should probably use
bkptno_num_re.

-- 
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/30539] [gdb/testsuite] FAIL: gdb.ada/out_of_line_in_inlined.exp: scenario=all: run to foo_o224_021.child1.child2
  2023-06-12  7:27 [Bug testsuite/30539] New: [gdb/testsuite] FAIL: gdb.ada/out_of_line_in_inlined.exp: scenario=all: run to foo_o224_021.child1.child2 vries at gcc dot gnu.org
@ 2023-06-12  9:14 ` cvs-commit at gcc dot gnu.org
  2023-06-12  9:15 ` vries at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-06-12  9:14 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #1 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=d0cc647211981cfdcb402694ea43334ba2c236bd

commit d0cc647211981cfdcb402694ea43334ba2c236bd
Author: Tom de Vries <tdevries@suse.de>
Date:   Mon Jun 12 11:14:24 2023 +0200

    [gdb/testsuite] Fix breakpoint regexp in gdb.ada/out_of_line_in_inlined.exp

    With a gdb 13.2 based package on openSUSE Tumbleweed i586, I ran into:
    ...
    (gdb) run ^M
    Starting program: out_of_line_in_inlined/foo_o224_021-all ^M
    [Thread debugging using libthread_db enabled]^M
    Using host libthread_db library "/lib/libthread_db.so.1".^M
    ^M
    Breakpoint 1.1, foo_o224_021.child1.child2 (s=...) at foo_o224_021.adb:26^M
    26                  for C of S loop^M
    (gdb) FAIL: gdb.ada/out_of_line_in_inlined.exp: scenario=all: \
      run to foo_o224_021.child1.child2
    ...

    I can reproduce the same issue with gdb trunk on x86_64, by using
optimize=-O3
    instead of optimize=-O2.

    Fix this by using $bkptno_num_re.

    Tested on x86_64-linux.

    PR testsuite/30539
    Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30539

-- 
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/30539] [gdb/testsuite] FAIL: gdb.ada/out_of_line_in_inlined.exp: scenario=all: run to foo_o224_021.child1.child2
  2023-06-12  7:27 [Bug testsuite/30539] New: [gdb/testsuite] FAIL: gdb.ada/out_of_line_in_inlined.exp: scenario=all: run to foo_o224_021.child1.child2 vries at gcc dot gnu.org
  2023-06-12  9:14 ` [Bug testsuite/30539] " cvs-commit at gcc dot gnu.org
@ 2023-06-12  9:15 ` vries at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: vries at gcc dot gnu.org @ 2023-06-12  9:15 UTC (permalink / raw)
  To: gdb-prs

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

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

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

--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> ---
Fixed.

-- 
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:[~2023-06-12  9:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-12  7:27 [Bug testsuite/30539] New: [gdb/testsuite] FAIL: gdb.ada/out_of_line_in_inlined.exp: scenario=all: run to foo_o224_021.child1.child2 vries at gcc dot gnu.org
2023-06-12  9:14 ` [Bug testsuite/30539] " cvs-commit at gcc dot gnu.org
2023-06-12  9: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).