Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Jim Blandy" <jimb@red-bean.com>
To: "M R Swami Reddy" <MR.Swami.Reddy@nsc.com>
Cc: gdb@sourceware.org
Subject: Re: gdb testsuite
Date: Tue, 29 Jan 2008 20:22:00 -0000	[thread overview]
Message-ID: <8f2776cb0801291221g106e39acw493a3b9e0a8e7798@mail.gmail.com> (raw)
In-Reply-To: <479EC263.3060107@nsc.com>

In gdb.log, I see the below.  Note that the test suite tries to run
the program with a direct "run" command, with no 'target sim'.  I
think you need to write an appropriate DejaGnu configuration file for
your target.  I believe there are existing files included with DejaGnu
that might be appropriate for you to model yours on, with names ending
in "-sim", or something like that.

Running ../../../gdb-6.6/gdb/testsuite/gdb.base/a2-run.exp ...
Executing on host: cr16-elf-gcc
../../../gdb-6.6/gdb/testsuite/gdb.base/run.c  -g  -lm   -o
/scratch/user/swami/gdb/build/gdb/testsuite/gdb.base/run    (timeout =
300)
GNU gdb 6.6-1.0 20080109 (cr16-elf)

Copyright (C) 2006 Free Software Foundation, Inc.

GDB is free software, covered by the GNU General Public License, and you are

welcome to change it and/or distribute copies of it under certain conditions.

Type "show copying" to see the conditions.

There is absolutely no warranty for GDB.  Type "show warranty" for details.

This GDB was configured as "--host=i686-pc-linux-gnu --target=cr16-elf".

(gdb) set height 0

(gdb) set width 0

(gdb) dir

Reinitialize source path to empty? (y or n) y

Source directories searched: $cdir:$cwd

(gdb) dir ../../../gdb-6.6/gdb/testsuite/gdb.base

Source directories searched:
/scratch/user/swami/gdb/build/gdb/testsuite/../../../gdb-6.6/gdb/testsuite/gdb.base:$cdir:$cwd

(gdb) kill

The program is not being run.

(gdb) file /scratch/user/swami/gdb/build/gdb/testsuite/gdb.base/run

Reading symbols from
/scratch/user/swami/gdb/build/gdb/testsuite/gdb.base/run...done.

(gdb) run

Starting program: /scratch/user/swami/gdb/build/gdb/testsuite/gdb.base/run

Don't know how to run.  Try "help target".

(gdb) FAIL: gdb.base/a2-run.exp: run "run" with no args


  reply	other threads:[~2008-01-29 20:22 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-25 10:14 M R Swami Reddy
2008-01-25 18:16 ` Jim Blandy
2008-01-28  5:07   ` M R Swami Reddy
2008-01-28 18:51     ` Jim Blandy
2008-01-29  6:07       ` M R Swami Reddy
2008-01-29 20:22         ` Jim Blandy [this message]
2008-01-30 12:56           ` M R Swami Reddy
2008-01-30 17:56             ` Jim Blandy
2008-01-30 19:53               ` Thiago Jung Bauermann
2008-01-30 23:54                 ` Jim Blandy
2008-01-31 17:33                   ` Thiago Jung Bauermann
2008-02-01 11:45               ` M R Swami Reddy
  -- strict thread matches above, loose matches on Subject: below --
2006-07-25 12:09 qinwei
1999-05-20  4:34 GDB testsuite Rajesh Maddali

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=8f2776cb0801291221g106e39acw493a3b9e0a8e7798@mail.gmail.com \
    --to=jimb@red-bean.com \
    --cc=MR.Swami.Reddy@nsc.com \
    --cc=gdb@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