Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Ulrich Weigand" <uweigand@de.ibm.com>
To: deuling@de.ibm.com (Markus Deuling)
Cc: gdb-patches@sourceware.org (GDB Patches)
Subject: Re: [rfc]: Fix gdb.base/gcore.exp
Date: Tue, 08 May 2007 18:27:00 -0000	[thread overview]
Message-ID: <200705081826.l48IQsER008805@d12av02.megacenter.de.ibm.com> (raw)
In-Reply-To: <463A1707.9070801@de.ibm.com> from "Markus Deuling" at May 03, 2007 07:08:23 PM

Markus Deuling wrote:

> gdb.base/gcore.exp quits with a tcl error because of an uninitialized variable.
> This patch initializes it in every case.

The test case currently has:

gdb_test_multiple "gcore ${objdir}/${subdir}/gcore.test" \
        "save a corefile" \
{
  -re "Saved corefile ${escapedfilename}\[\r\n\]+$gdb_prompt $" {
    pass "save a corefile"
    global core_supported
    set core_supported 1
  }
  -re "Can't create a corefile\[\r\n\]+$gdb_prompt $" {
    unsupported "save a corefile"
    global core_supported
    set core_supported 0
  }
}


What output do you get that runs into neither of the two
tested patterns?

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


  reply	other threads:[~2007-05-08 18:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-03 17:09 Markus Deuling
2007-05-08 18:27 ` Ulrich Weigand [this message]
2007-05-08 18:37   ` Daniel Jacobowitz
2007-05-09 11:43     ` Markus Deuling
2007-05-11 17:56 ` Daniel Jacobowitz
2007-05-14 21:07   ` Ulrich Weigand

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=200705081826.l48IQsER008805@d12av02.megacenter.de.ibm.com \
    --to=uweigand@de.ibm.com \
    --cc=deuling@de.ibm.com \
    --cc=gdb-patches@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