public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug tdep/30506] New: [gdb/tdep, aarch64] FAIL: gdb.dwarf2/dw2-prologue-end-2.exp: $break_addr == $foo_label_addr
@ 2023-06-01 12:15 vries at gcc dot gnu.org
  2023-06-01 12:18 ` [Bug tdep/30506] " vries at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: vries at gcc dot gnu.org @ 2023-06-01 12:15 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 30506
           Summary: [gdb/tdep, aarch64] FAIL:
                    gdb.dwarf2/dw2-prologue-end-2.exp: $break_addr ==
                    $foo_label_addr
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tdep
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

On openSUSE Leap 15.4 aarch64 I run into:
...
(gdb) break foo^M
Breakpoint 1 at 0x4005f8: file
/home/tdevries/gdb/src/gdb/testsuite/gdb.dwarf2/dw2-prologue-end-2.c, line
26.^M
(gdb) PASS: gdb.dwarf2/dw2-prologue-end-2.exp: break foo
print /x &foo_label^M
$1 = 0x4005f0^M
(gdb) PASS: gdb.dwarf2/dw2-prologue-end-2.exp: print /x &foo_label
print &foo_end == &bar_label^M
$2 = 1^M
(gdb) PASS: gdb.dwarf2/dw2-prologue-end-2.exp: print &foo_end == &bar_label
FAIL: gdb.dwarf2/dw2-prologue-end-2.exp: $break_addr == $foo_label_addr
...

This was noted here (
https://sourceware.org/pipermail/gdb-patches/2023-April/199053.html ).

This WIP ( https://sourceware.org/pipermail/gdb-patches/2023-April/199056.html
) fixes the FAIL on aarch64.

Also on arm, as mentioned here (
https://sourceware.org/pipermail/gdb-patches/2023-May/199614.html ).

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

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

* [Bug tdep/30506] [gdb/tdep, aarch64] FAIL: gdb.dwarf2/dw2-prologue-end-2.exp: $break_addr == $foo_label_addr
  2023-06-01 12:15 [Bug tdep/30506] New: [gdb/tdep, aarch64] FAIL: gdb.dwarf2/dw2-prologue-end-2.exp: $break_addr == $foo_label_addr vries at gcc dot gnu.org
@ 2023-06-01 12:18 ` vries at gcc dot gnu.org
  2023-06-02  5:36 ` luis.machado at arm dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: vries at gcc dot gnu.org @ 2023-06-01 12:18 UTC (permalink / raw)
  To: gdb-prs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |luis.machado at arm dot com

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

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

* [Bug tdep/30506] [gdb/tdep, aarch64] FAIL: gdb.dwarf2/dw2-prologue-end-2.exp: $break_addr == $foo_label_addr
  2023-06-01 12:15 [Bug tdep/30506] New: [gdb/tdep, aarch64] FAIL: gdb.dwarf2/dw2-prologue-end-2.exp: $break_addr == $foo_label_addr vries at gcc dot gnu.org
  2023-06-01 12:18 ` [Bug tdep/30506] " vries at gcc dot gnu.org
@ 2023-06-02  5:36 ` luis.machado at arm dot com
  2023-06-07  8:39 ` luis.machado at arm dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: luis.machado at arm dot com @ 2023-06-02  5:36 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #1 from Luis Machado <luis.machado at arm dot com> ---
Thanks. I have a WIP for this, but haven't submitted it yet.

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

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

* [Bug tdep/30506] [gdb/tdep, aarch64] FAIL: gdb.dwarf2/dw2-prologue-end-2.exp: $break_addr == $foo_label_addr
  2023-06-01 12:15 [Bug tdep/30506] New: [gdb/tdep, aarch64] FAIL: gdb.dwarf2/dw2-prologue-end-2.exp: $break_addr == $foo_label_addr vries at gcc dot gnu.org
  2023-06-01 12:18 ` [Bug tdep/30506] " vries at gcc dot gnu.org
  2023-06-02  5:36 ` luis.machado at arm dot com
@ 2023-06-07  8:39 ` luis.machado at arm dot com
  2023-06-07 11:01 ` cvs-commit at gcc dot gnu.org
  2023-06-07 11:02 ` luis.machado at arm dot com
  4 siblings, 0 replies; 6+ messages in thread
From: luis.machado at arm dot com @ 2023-06-07  8:39 UTC (permalink / raw)
  To: gdb-prs

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

Luis Machado <luis.machado at arm dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at sourceware dot org   |luis.machado at arm dot com

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

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

* [Bug tdep/30506] [gdb/tdep, aarch64] FAIL: gdb.dwarf2/dw2-prologue-end-2.exp: $break_addr == $foo_label_addr
  2023-06-01 12:15 [Bug tdep/30506] New: [gdb/tdep, aarch64] FAIL: gdb.dwarf2/dw2-prologue-end-2.exp: $break_addr == $foo_label_addr vries at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2023-06-07  8:39 ` luis.machado at arm dot com
@ 2023-06-07 11:01 ` cvs-commit at gcc dot gnu.org
  2023-06-07 11:02 ` luis.machado at arm dot com
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-06-07 11:01 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Luis Machado <luisgpm@sourceware.org>:

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

commit 22f2cf64f178fa3c85508d08fe10dd4e98af4751
Author: Tom de Vries <tdevries@suse.de>
Date:   Tue May 16 17:00:51 2023 +0100

    Fix PR30369 regression on aarch64/arm (PR30506)

    The gdb.dwarf2/dw2-prologue-end-2.exp test was failing for both AArch64 and
    Arm.

    As Tom pointed out here
(https://inbox.sourceware.org/gdb-patches/6663707c-4297-c2f2-a0bd-f3e84fc62aad@suse.de/),
    there are issues with both the prologue skipper for AArch64 and Arm and an
    incorrect assumption by the testcase.

    This patch fixes both of AArch64's and Arm's prologue skippers to not skip
past
    the end of a function.  It also incorporates a fix to the testcase so it
    doesn't assume the prologue skipper will stop at the first instruction of
the
    functions/labels.

    Regression-tested on aarch64-linux/arm-linux Ubuntu 20.04/22.04 and
    x86_64-linux Ubuntu 20.04.

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

    Co-Authored-By: Tom de Vries <tdevries@suse.de>
    Co-Authored-By: Luis Machado <luis.machado@arm.com>

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

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

* [Bug tdep/30506] [gdb/tdep, aarch64] FAIL: gdb.dwarf2/dw2-prologue-end-2.exp: $break_addr == $foo_label_addr
  2023-06-01 12:15 [Bug tdep/30506] New: [gdb/tdep, aarch64] FAIL: gdb.dwarf2/dw2-prologue-end-2.exp: $break_addr == $foo_label_addr vries at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2023-06-07 11:01 ` cvs-commit at gcc dot gnu.org
@ 2023-06-07 11:02 ` luis.machado at arm dot com
  4 siblings, 0 replies; 6+ messages in thread
From: luis.machado at arm dot com @ 2023-06-07 11:02 UTC (permalink / raw)
  To: gdb-prs

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

Luis Machado <luis.machado at arm dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Luis Machado <luis.machado at arm dot com> ---
Fixed now.

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

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

end of thread, other threads:[~2023-06-07 11:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-01 12:15 [Bug tdep/30506] New: [gdb/tdep, aarch64] FAIL: gdb.dwarf2/dw2-prologue-end-2.exp: $break_addr == $foo_label_addr vries at gcc dot gnu.org
2023-06-01 12:18 ` [Bug tdep/30506] " vries at gcc dot gnu.org
2023-06-02  5:36 ` luis.machado at arm dot com
2023-06-07  8:39 ` luis.machado at arm dot com
2023-06-07 11:01 ` cvs-commit at gcc dot gnu.org
2023-06-07 11:02 ` luis.machado at arm dot com

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).