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 testsuite/30648] [gdb, lto] FAIL: gdb.gdb/python-helper.exp: hit breakpoint in outer gdb again
Date: Wed, 19 Jul 2023 07:18:43 +0000	[thread overview]
Message-ID: <bug-30648-4717-a40GVn96t7@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-30648-4717@http.sourceware.org/bugzilla/>

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

--- Comment #3 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=0d332f11122473192a944230e1d925bac115ca0d

commit 0d332f11122473192a944230e1d925bac115ca0d
Author: Tom de Vries <tdevries@suse.de>
Date:   Wed Jul 19 09:18:29 2023 +0200

    [gdb/testsuite] Fix gdb.gdb/python-helper.exp with -O2 -flto=auto and gcc
7.5.0

    With a gdb build with -O2 -flto=auto using gcc 7.5.0, I run into:
    ...
    (gdb) ptype global_c^M
    ^M
    Thread 1 "xgdb" hit Breakpoint 3, \
      _Z12c_print_typeP4typePKcP7ui_fileii8languagePK18type_print_options () at
\
      gdb/c-typeprint.c:175^M
    175     {^M
    (outer-gdb) FAIL: gdb.gdb/python-helper.exp: hit breakpoint in outer gdb
again
    ...

    This is a problem with the debug info, which marks the CU containing the
    function declaration as C rather than C++.  This is fixed in gcc 8 and
later.

    Work around this compiler problem by allowing the mangled name.

    Tested on x86_64-linux.

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

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

  parent reply	other threads:[~2023-07-19  7:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-18  7:45 [Bug gdb/30648] New: " vries at gcc dot gnu.org
2023-07-18 11:00 ` [Bug gdb/30648] " vries at gcc dot gnu.org
2023-07-18 12:32 ` vries at gcc dot gnu.org
2023-07-18 12:32 ` [Bug testsuite/30648] " vries at gcc dot gnu.org
2023-07-19  7:18 ` cvs-commit at gcc dot gnu.org [this message]
2023-07-19  7:19 ` 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-30648-4717-a40GVn96t7@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).