This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [commit/hpux] Obsolete some definitions only used for hppa-pro
- From: Joel Brobecker <brobecker at gnat dot com>
- To: Andrew Cagney <ac131313 at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Tue, 22 Apr 2003 11:15:22 -0700
- Subject: Re: [commit/hpux] Obsolete some definitions only used for hppa-pro
- References: <20030422011559.GN10467@gnat.com> <3EA57465.9020102@redhat.com>
> Just fyi:
> // OBSOLETE
> has a little evilness behind it - it's C++ not ISO C 90. GDB gets way
> with it by either using:
>
> #if 0
> // OBSOLETE ...
> #endif
>
> or just applying it to the entire file.
>
> Oh, and if something can be simplified by removing a value/macro only
> defined in obsolete code then it's a real option. The person that tries
> to resurect that obsolete target will need to re-write the section anyway.
Ah, ok. I thought this C++-ism was tolerated for obsolete declarations.
But this was just nonsense, now that I think of it. I shall fix
momentarily and send a new patch (will also take your recommendation
to delete the code).
Thanks!
--
Joel