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/26962] FAIL: gdb.base/solib-corrupted.exp: make solibs looping
Date: Mon, 14 Dec 2020 16:05:21 +0000	[thread overview]
Message-ID: <bug-26962-4717-P8ICffNeZH@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-26962-4717@http.sourceware.org/bugzilla/>

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

--- 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=519155c9f6804988e35c8537c4506e877176c9b1

commit 519155c9f6804988e35c8537c4506e877176c9b1
Author: Tom de Vries <tdevries@suse.de>
Date:   Mon Dec 14 17:05:11 2020 +0100

    [gdb/testsuite] Handle no glibc debuginfo in gdb.base/solib-corrupted.exp

    When running test-case gdb.base/solib-corrupted.exp on SLE-11, I get:
    ...
    (gdb) PASS: gdb.base/solib-corrupted.exp: normal list
    p/x _r_debug->r_map->l_next = _r_debug->r_map^M
    '_r_debug' has unknown type; cast it to its declared type^M
    (gdb) FAIL: gdb.base/solib-corrupted.exp: make solibs looping
    ...

    The reason that _r_debug has unknown type is that glibc debuginfo is not
    installed.  The test-case attempts to detect this but doesn't handle this
    particular error string.

    Fix this by adding the "unknown type" line to the regexp detecting missing
    glibc debuginfo.

    Tested on x86_64-linux.

    gdb/testsuite/ChangeLog:

    2020-12-14  Tom de Vries  <tdevries@suse.de>

            PR testsuite/26962
            * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown
type;
            cast it to its declared type".

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

  parent reply	other threads:[~2020-12-14 16:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-27 14:25 [Bug testsuite/26962] New: " vries at gcc dot gnu.org
2020-11-27 14:27 ` [Bug testsuite/26962] " vries at gcc dot gnu.org
2020-12-14  7:23 ` vries at gcc dot gnu.org
2020-12-14 16:05 ` cvs-commit at gcc dot gnu.org [this message]
2020-12-14 16:06 ` 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-26962-4717-P8ICffNeZH@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).