From: Michael Chastain <mec.gnu@mindspring.com>
To: manjo@austin.ibm.com
Cc: gdb@sources.redhat.com
Subject: Re: gdb.gdb/ testcase issues.
Date: Fri, 20 Aug 2004 08:51:00 -0000 [thread overview]
Message-ID: <4125BB8B.nailJWP1FZGHJ@mindspring.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0408191637370.21237@lazy>
Manoj Iyer <manjo@austin.ibm.com> wrote:
> Will get back to you on that.
Okay. I can't accept any patches larger than trivial without
a copyright assignment, though.
> The reason is, the GDB that is shipped in a distro is stripped, and I used
> the --tool_exec= option to use this GDB that is installed in /usr/bin.
Ah, that is a valid use case for testing a stripped gdb.
First it would help to file a PR to track this issue.
It would be nice to have some common code for this.
Three of the four test scripts in gdb.gdb have their own 'setup_test',
and the fourth script has another copy of the same code. I would like
to see the common code factored into one place, lib/self-support.exp.
Then setup_test calls gdb_load which calls gdb_file_cmd. You could get
into gdb_file_cmd and detect "(no debugging symbols found)" and add a
channel to return that information. Or, in setup_test, you could
do something right after the call to gdb_load to check for debugging
symbols.
If there are no debugging symbols, then I think that the test script
should return one UNRESOLVED result and not continue testing.
I'm not sure UNRESOLVED is the right result. Perhaps UNTESTED would
be better. But not UNSUPPORTED -- UNSUPPORTED means that a feature
is missing in the system under test.
Michael
next prev parent reply other threads:[~2004-08-20 8:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-19 18:10 Manoj Iyer
2004-08-19 21:23 ` Michael Chastain
2004-08-19 22:16 ` Manoj Iyer
2004-08-20 8:51 ` Michael Chastain [this message]
2004-08-25 5:03 ` [RFC] GDB testsuite patch Manoj Iyer
2004-08-25 12:49 ` Daniel Jacobowitz
2004-08-25 13:48 ` Michael Chastain
2004-08-25 13:44 ` 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=4125BB8B.nailJWP1FZGHJ@mindspring.com \
--to=mec.gnu@mindspring.com \
--cc=gdb@sources.redhat.com \
--cc=manjo@austin.ibm.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