Re: RFC: Deprecate the ARM simulator

Nick Clifton via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
Hi Simon,

>>    I would like to deprecate or even delete the ARM simulator.

>>    It is not entirely clear to me how a sim target should be
>>    deprecated.  I am attaching a patch that shows one possible
>>    method - adding code to the sim 

> Thanks for being proactive with this.  Is `--enable-obsolete` something
> that already exists?

Not in GDB land.  I actually stole the code from the binutils where we use
it when we want to deprecate old targets.  First they get moved into the
you-cannot-build-without-enable-obsolete list and then after a release has
been made they get completely deprecated.  (Unless someone volunteers to
take over maintainership of the port, but this rarely happens).

The problem is that this entire process is manual.  There is no automatic
way of deprecating a port.  So it is up to someone to remember to make the
necessary changes.  Still at least it does work and we do deprecate things.


> When we deprecate / remove ports in GDB, we currently don't do anything
> like this, if I recall correctly we just announce on the mailing list
> that it will be removed in the next major version, and then later remove
> it.  But I think that having it disabled by default and enabled with a
> switch like `--enable-obsolete` is a good idea.  People downstream who
> use that feature are not likely to follow the gdb or binutils mailing
> lists, so this will make them notice, and it's still relatively easy for
> them to get the feature back in that release.

Right.  If someone cares then they can step up and take over the code.

Cheers
   Nick
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.