Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Michael Chastain <mec.gnu@mindspring.com>
To: gdb@sources.redhat.com, cagney@gnu.org
Subject: Re: strange tcl dejagnu error
Date: Sat, 04 Sep 2004 03:53:00 -0000	[thread overview]
Message-ID: <41393C5F.nailE8A11EKZ5@mindspring.com> (raw)
In-Reply-To: <4138F6A9.30609@gnu.org>

Oh, shit.  This is mine.

I changed the return type of gdb_file_cmd; and I did a careful job of
changing all the callers in gdb.*/*.exp and lib/*.exp, but since I test
native only, I did not even think about config/*.exp.

The right code is:

  set status [gdb_file_cmd $arg]
  if { [lindex $status 0] != "" } then {
    # gdb_file_cmd failed
    whatever;
  }

See the comment at the front of gdb_file_cmd for the specification
of the return value.

I'll fix this tomorrow.  Sorry!

(And man, is there a lot of funky dead code in config/*.exp).

Michael


  reply	other threads:[~2004-09-04  3:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-03 22:57 Andrew Cagney
2004-09-04  3:53 ` Michael Chastain [this message]
2004-09-06 16:39 ` Michael Chastain

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=41393C5F.nailE8A11EKZ5@mindspring.com \
    --to=mec.gnu@mindspring.com \
    --cc=cagney@gnu.org \
    --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