From: Michael Snyder <msnyder@vmware.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: Question re: testsuite, "isnative", "is_remote" etc.
Date: Thu, 13 Jan 2011 18:51:00 -0000 [thread overview]
Message-ID: <4D2F49B7.3020901@vmware.com> (raw)
In-Reply-To: <20110113183700.GN2518@adacore.com>
Joel Brobecker wrote:
> I'm as stumped as your are on this issue. Can we perhaps try to step
> back and see in what context you need this test? Perhaps this is going
> to help thinking about this differently...
>
Sure. I'm running the testsuite with gdbserver. The host machine and
the target machine are both configured as i386-linux-gnu, but they are
different machines (in fact running different versions of the OS).
Which probably isn't that important in this context.
So "isnative" returns true, because all it does is compare the host
and target triple.
Also "is_remote" returned false until I figured out that I needed to add
set_board_info isremote 1
to my board description file. This is apparently the only purpose of
this variable. It doesn't appear in the gdb docs, I haven't really
looked for it in dejagnu docs (such as they may be).
next prev parent reply other threads:[~2011-01-13 18:51 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-12 23:14 Michael Snyder
2011-01-12 23:19 ` Joel Brobecker
2011-01-12 23:20 ` Joel Brobecker
2011-01-12 23:23 ` Michael Snyder
[not found] ` <AANLkTi=R-L9-=O6cWW_aTBAoZFmmo_MMB57g2HZy85je@mail.gmail.com>
2011-01-13 18:27 ` Michael Snyder
2011-01-13 18:37 ` Joel Brobecker
2011-01-13 18:51 ` Michael Snyder [this message]
2011-01-13 18:40 ` Nathan Froyd
2011-01-13 19:04 ` Michael Snyder
2011-01-13 19:32 ` Joel Brobecker
2011-01-13 19:54 ` Michael Snyder
2011-01-13 20:53 ` Joel Brobecker
2011-01-13 20:59 ` Michael Snyder
2011-01-13 21:00 ` Nathan Froyd
2011-01-14 1:26 ` Michael Snyder
2011-01-13 21:27 ` Joel Brobecker
2011-01-13 21:29 ` Joel Brobecker
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=4D2F49B7.3020901@vmware.com \
--to=msnyder@vmware.com \
--cc=brobecker@adacore.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