From: Andrew Cagney <ac131313@ges.redhat.com>
To: Mark Kettenis <kettenis@chello.nl>,
Joel Brobecker <brobecker@gnat.com>,
Michael Snyder <msnyder@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: native or target?
Date: Mon, 09 Sep 2002 12:14:00 -0000 [thread overview]
Message-ID: <3D7CF30A.9040902@ges.redhat.com> (raw)
In-Reply-To: <863csmq4rp.fsf@elgar.kettenis.dyndns.org>
>
>> BTW: Is it a requirement for a new port to be buildable as a target
>> only, or can we provide a native-only port as a first step, and then
>> eventually improve it to support "--host=--target=interix"? This is
>> out-of-the-box thinking, I don't see how this would help the problem we
>> have been discussing, but I think this is an interesting piece of
>> information to know.
>
>
> I'm inclined to say yes. If I can configure GDB with
> --target=i386-interix on my i386-freebsd system, I can test the
> target-dependent code, and you run a smaller risk of me accidentally
> breaking your port when making changes to the common i386 code.
Two conflicting answers, hmm :-)
It's all smoke and mirrors anyway. What gets built with the cross
debugger is determined by what is listed in config/i386/interix.mt. If
a file isn't in that list then it won't get built so no one will see the
problems it contains ;-) As Mark points out, it is very much to your
advantage to have all code working as a cross target.
Anyway, I think this thread has identified the need for a
i386-interix-tdep.c file. If you haven't already, I think a good easy
(????) step would be to create an (almost) empty i386-interix-tdep.c
that just contains the interix ``sniffer''. Since you'll be needing to
override architecture methods, you'll definitly need this bit of
infrastructure working.
Andrew
next prev parent reply other threads:[~2002-09-09 19:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20020905232440.GV1169@gnat.com>
2002-09-05 16:29 ` Joel Brobecker
2002-09-05 16:35 ` Daniel Jacobowitz
2002-09-05 17:15 ` Michael Snyder
2002-09-05 18:02 ` Joel Brobecker
2002-09-06 11:00 ` Michael Snyder
2002-09-06 12:48 ` Mark Kettenis
2002-09-09 12:14 ` Andrew Cagney [this message]
2002-09-05 17:47 ` Kevin Buettner
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=3D7CF30A.9040902@ges.redhat.com \
--to=ac131313@ges.redhat.com \
--cc=brobecker@gnat.com \
--cc=gdb-patches@sources.redhat.com \
--cc=kettenis@chello.nl \
--cc=msnyder@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