public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/31450] New: [gdb/testsuite] FAIL: gdb.base/ending-run.exp: step out of main
@ 2024-03-05  7:06 vries at gcc dot gnu.org
  2024-03-14  9:56 ` [Bug testsuite/31450] " vries at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: vries at gcc dot gnu.org @ 2024-03-05  7:06 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 31450
           Summary: [gdb/testsuite] FAIL: gdb.base/ending-run.exp: step
                    out of main
           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-linux, with gcc 12.1.0, I run into:
...
(gdb) PASS: gdb.base/ending-run.exp: Step to return
next^M
32      }^M
(gdb) next^M
0x0000fffff7d67b80 in ?? () from /usr/lib/libc.so.6^M
(gdb) FAIL: gdb.base/ending-run.exp: step out of main
...

-- 
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/31450] [gdb/testsuite] FAIL: gdb.base/ending-run.exp: step out of main
  2024-03-05  7:06 [Bug testsuite/31450] New: [gdb/testsuite] FAIL: gdb.base/ending-run.exp: step out of main vries at gcc dot gnu.org
@ 2024-03-14  9:56 ` vries at gcc dot gnu.org
  2024-03-28  7:26 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: vries at gcc dot gnu.org @ 2024-03-14  9:56 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
https://sourceware.org/pipermail/gdb-patches/2024-March/207255.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 testsuite/31450] [gdb/testsuite] FAIL: gdb.base/ending-run.exp: step out of main
  2024-03-05  7:06 [Bug testsuite/31450] New: [gdb/testsuite] FAIL: gdb.base/ending-run.exp: step out of main vries at gcc dot gnu.org
  2024-03-14  9:56 ` [Bug testsuite/31450] " vries at gcc dot gnu.org
@ 2024-03-28  7:26 ` cvs-commit at gcc dot gnu.org
  2024-03-28  7:28 ` vries at gcc dot gnu.org
  2024-04-16 16:55 ` cvs-commit at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-03-28  7:26 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #2 from Sourceware Commits <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=4ef6173d2dfeafd33deedf7ce0d384cfbcf1170d

commit 4ef6173d2dfeafd33deedf7ce0d384cfbcf1170d
Author: Tom de Vries <tdevries@suse.de>
Date:   Thu Mar 28 08:26:31 2024 +0100

    [gdb/testsuite] Fix gdb.base/ending-run.exp on manjaro linux

    On aarch64-linux, using the manjaro linux distro, I run into:
    ...
    (gdb) next^M
    32      }^M
    (gdb) next^M
    0x0000fffff7d67b80 in ?? () from /usr/lib/libc.so.6^M
    (gdb) FAIL: gdb.base/ending-run.exp: step out of main
    ...

    What happens here is described in detail in this clause:
    ...
        -re "0x.*\\?\\? \\(\\) from /lib/powerpc.*$gdb_prompt $" {
            # This case occurs on Powerpc when gdb steps out of main and the
            # needed debug info files are not loaded on the system, preventing
            # GDB to determine which function it reached
(__libc_start_call_main).
            # Ideally, the target system would have the necessary debugging
            # information, but in its absence, GDB's behavior is as expected.
            ...
        }
    ...
    but the clause only matches for powerpc.

    Fix this by:
    - making the regexp generic enough to also match /usr/lib/libc.so.6, and
    - updating the comment to not mention powerpc.

    Tested on aarch64-linux.

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

-- 
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/31450] [gdb/testsuite] FAIL: gdb.base/ending-run.exp: step out of main
  2024-03-05  7:06 [Bug testsuite/31450] New: [gdb/testsuite] FAIL: gdb.base/ending-run.exp: step out of main vries at gcc dot gnu.org
  2024-03-14  9:56 ` [Bug testsuite/31450] " vries at gcc dot gnu.org
  2024-03-28  7:26 ` cvs-commit at gcc dot gnu.org
@ 2024-03-28  7:28 ` vries at gcc dot gnu.org
  2024-04-16 16:55 ` cvs-commit at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: vries at gcc dot gnu.org @ 2024-03-28  7:28 UTC (permalink / raw)
  To: gdb-prs

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

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

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

--- Comment #3 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] 5+ messages in thread

* [Bug testsuite/31450] [gdb/testsuite] FAIL: gdb.base/ending-run.exp: step out of main
  2024-03-05  7:06 [Bug testsuite/31450] New: [gdb/testsuite] FAIL: gdb.base/ending-run.exp: step out of main vries at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2024-03-28  7:28 ` vries at gcc dot gnu.org
@ 2024-04-16 16:55 ` cvs-commit at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-04-16 16:55 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #4 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Nick Clifton <nickc@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b6fc194038ce0744532d6471499326114c0f0d90

commit b6fc194038ce0744532d6471499326114c0f0d90
Author: Nick Clifton <nickc@redhat.com>
Date:   Tue Apr 16 17:54:13 2024 +0100

    Fix test for sections with different VMA<->LMA relationships so that it
only applies to allocated sections, and only sections in the same segment are
checked.

      PR 31450

-- 
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:[~2024-04-16 16:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-05  7:06 [Bug testsuite/31450] New: [gdb/testsuite] FAIL: gdb.base/ending-run.exp: step out of main vries at gcc dot gnu.org
2024-03-14  9:56 ` [Bug testsuite/31450] " vries at gcc dot gnu.org
2024-03-28  7:26 ` cvs-commit at gcc dot gnu.org
2024-03-28  7:28 ` vries at gcc dot gnu.org
2024-04-16 16:55 ` cvs-commit 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).