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: [PATCH RFC] Fix break.exp optimization related failure


ac> We're probably also going to have to split up our test files in to 
ac> separate .c's so that the compiler can't see smarts like this :-/

I like separate files much better than #ifdef __GNUC__,
__weak__, and stuff like that.  Separate files are simpler in
concept, more future-proof against improvements in gcc,
and also proof against improvements in non-gcc compilers.

Michael C


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