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: Mon, 06 Sep 2004 16:39:00 -0000	[thread overview]
Message-ID: <413C92A3.nail78L1SY5AN@mindspring.com> (raw)
In-Reply-To: <4138F6A9.30609@gnu.org>

Andrew Cagney wrote:
> ERROR: expected boolean value but got ""
>      while executing
> "if [gdb_file_cmd $arg] then { return -1 }"
>      (procedure "gdb_load" line 9)
>      invoked from within
> "gdb_load ${binfile}"
>      (file "/home/scratch/GDB/src/gdb/testsuite/gdb.base/arithmet.exp" 

Just so you know, I'm still chewing on this problem.

Plan #1

  I back out the changes from Manoj and myself to make gdb_file_cmd
  return more information so that the caller can tell if the executable
  was stripped or not.  Then all the alternate implementations of
  gdb_load in config/*.exp ought to work again.  After that, I figure
  out some other mechanism to get what we wanted in the first place.

Plan #2

  I go forward, patching up gdb_load in config/*.exp.  I actually
  wrote this patch, but it's 500 lines long, scattered over a lot
  of places, and will be hard to test all of it.  (monitor, gdbserver,
  netware, sid, sim, and so on).

Both plans are icky in different ways.

Gotta stare at the wall some more.  Ideas welcomed.

Michael


      parent reply	other threads:[~2004-09-06 16:39 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
2004-09-06 16:39 ` Michael Chastain [this message]

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=413C92A3.nail78L1SY5AN@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