Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Corinna Vinschen <vinschen@redhat.com>
To: gdb@sources.redhat.com
Subject: Testsuite FAIL which isn't a FAIL in chng-syms.exp
Date: Thu, 26 Feb 2004 16:15:00 -0000	[thread overview]
Message-ID: <20040226161543.GB1396@cygbert.vinschen.de> (raw)

Hi,

I'm looking for a good while into this testsuite FAIL.  What happens
is, that the testsuite generates a FAIL which is not correct.  The
expression in chng-syms.exp is this:

  gdb_run_cmd
  gdb_expect {
      -re "Error in re-setting .*No symbol .var1..*Program exited normally.*" {
	  pass "running with invalidated bpt condition after executable changes"
      }
      timeout {
	  fail "(timeout) running with invalidated bpt condition after executable changes"
      }

The output from the gdb.log file looks like this:

  `/build/sh-elf/gdb/testsuite/gdb.base/chng-syms' has changed; re-reading symbols.^M
  Error in re-setting breakpoint 1:^M
  No symbol "var1" in current context.^M
  Starting program: /build/sh-elf/gdb/testsuite/gdb.base/chng-syms ^M
  ^M
  Program exited normally.^M
  (gdb) FAIL: gdb.base/chng-syms.exp: (timeout) running with invalidated bpt condition after executable changes

Does anybody understand why that's failing?  The regular expression
looks right to me.  I tried to change it to get it working but everything
I tried failed, except for ".*Program exited normally.*" which is not
exactly helpful. :-(


Corinna

-- 
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.


             reply	other threads:[~2004-02-26 16:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-26 16:15 Corinna Vinschen [this message]
2004-02-26 16:32 ` Daniel Jacobowitz
2004-02-26 17:07   ` Corinna Vinschen
2004-02-26 19:08     ` Daniel Jacobowitz
2004-02-27 12:53       ` Corinna Vinschen

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=20040226161543.GB1396@cygbert.vinschen.de \
    --to=vinschen@redhat.com \
    --cc=gdb@sources.redhat.com \
    /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