[commit/hpux] Obsolete some definitions only used for hppa-pro
Joel Brobecker
brobecker@gnat.com
Tue Apr 22 18:15:00 GMT 2003
> 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
More information about the Gdb-patches
mailing list