This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [commit/hpux] Obsolete some definitions only used for hppa-pro


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]