[PATCH RFC] Fix break.exp optimization related failure

Mark Kettenis kettenis@chello.nl
Sat Sep 27 19:30:00 GMT 2003


   Date: Sat, 27 Sep 2003 15:15:43 -0400
   From: Michael Elizabeth Chastain <mec@shout.net>

   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.

Moreover, this trick with __weak__ probably only works on ELF.

Mark



More information about the Gdb-patches mailing list