public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug symtab/31268] gdb.base/unwind-on-each-insn-amd64.exp regression
Date: Wed, 24 Apr 2024 14:27:02 +0000	[thread overview]
Message-ID: <bug-31268-4717-7qi1WiYq1w@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-31268-4717@http.sourceware.org/bugzilla/>

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

--- Comment #11 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Bernd Edlinger <edlinger@sourceware.org>:

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

commit 63ddc8af5d7d3ad909aad66291f23507ba987bb4
Author: Bernd Edlinger <bernd.edlinger@hotmail.de>
Date:   Tue Apr 9 09:27:52 2024 +0000

    Fix an out of bounds array access in find_epilogue_using_linetable

    An out of bounds array access in find_epilogue_using_linetable causes
random
    test failures like these:

    FAIL: gdb.base/unwind-on-each-insn-amd64.exp: foo: instruction 6:
$fba_value == $fn_fba
    FAIL: gdb.base/unwind-on-each-insn-amd64.exp: foo: instruction 6: check
frame-id matches
    FAIL: gdb.base/unwind-on-each-insn-amd64.exp: foo: instruction 6: bt 2
    FAIL: gdb.base/unwind-on-each-insn-amd64.exp: foo: instruction 6: up
    FAIL: gdb.base/unwind-on-each-insn-amd64.exp: foo: instruction 6: $sp_value
== $::main_sp
    FAIL: gdb.base/unwind-on-each-insn-amd64.exp: foo: instruction 6:
$fba_value == $::main_fba
    FAIL: gdb.base/unwind-on-each-insn-amd64.exp: foo: instruction 6: [string
equal $fid $::main_fid]

    Here the read happens below the first element of the line
    table, and the test failure depends on the value that is
    read from there.

    It also happens that std::lower_bound returns a pointer exactly at the
upper
    bound of the line table, also here the read value is undefined, that
happens
    in this test:

    FAIL: gdb.dwarf2/dw2-epilogue-begin.exp: confirm watchpoint doesn't trigger

    Fixes: 528b729be1a2 ("gdb/dwarf2: Add support for DW_LNS_set_epilogue_begin
in line-table")

    Co-Authored-By: Tom de Vries <tdevries@suse.de>

    PR symtab/31268
    Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31268

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

  parent reply	other threads:[~2024-04-24 14:27 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-19 15:42 [Bug gdb/31268] New: " simark at simark dot ca
2024-01-19 15:42 ` [Bug gdb/31268] " simark at simark dot ca
2024-01-20 14:52 ` vries at gcc dot gnu.org
2024-01-20 14:52 ` vries at gcc dot gnu.org
2024-01-20 14:53 ` vries at gcc dot gnu.org
2024-01-21 10:43 ` vries at gcc dot gnu.org
2024-03-27 14:26 ` vries at gcc dot gnu.org
2024-03-27 14:29 ` vries at gcc dot gnu.org
2024-04-01  7:56 ` vries at gcc dot gnu.org
2024-04-02 12:04 ` [Bug symtab/31268] " vries at gcc dot gnu.org
2024-04-08 13:06 ` vries at gcc dot gnu.org
2024-04-14 18:03 ` brobecker at gnat dot com
2024-04-15 11:48 ` vries at gcc dot gnu.org
2024-04-24 14:27 ` cvs-commit at gcc dot gnu.org [this message]
2024-04-24 21:12 ` vries at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-31268-4717-7qi1WiYq1w@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).