From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3743 invoked by alias); 27 Sep 2003 19:30:08 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 3729 invoked from network); 27 Sep 2003 19:30:06 -0000 Received: from unknown (HELO walton.kettenis.dyndns.org) (213.93.115.144) by sources.redhat.com with SMTP; 27 Sep 2003 19:30:06 -0000 Received: from elgar.kettenis.dyndns.org (elgar.kettenis.dyndns.org [192.168.0.2]) by walton.kettenis.dyndns.org (8.12.6p3/8.12.6) with ESMTP id h8RJTnFU000401; Sat, 27 Sep 2003 21:29:49 +0200 (CEST) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: from elgar.kettenis.dyndns.org (localhost [127.0.0.1]) by elgar.kettenis.dyndns.org (8.12.6p3/8.12.6) with ESMTP id h8RJTnoL008698; Sat, 27 Sep 2003 21:29:49 +0200 (CEST) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: (from kettenis@localhost) by elgar.kettenis.dyndns.org (8.12.6p3/8.12.6/Submit) id h8RJTmqN008695; Sat, 27 Sep 2003 21:29:48 +0200 (CEST) Date: Sat, 27 Sep 2003 19:30:00 -0000 Message-Id: <200309271929.h8RJTmqN008695@elgar.kettenis.dyndns.org> From: Mark Kettenis To: mec@shout.net CC: ac131313@redhat.com, kevinb@redhat.com, gdb-patches@sources.redhat.com In-reply-to: <200309271915.h8RJFhAh007979@duracef.shout.net> (message from Michael Elizabeth Chastain on Sat, 27 Sep 2003 15:15:43 -0400) Subject: Re: [PATCH RFC] Fix break.exp optimization related failure References: <200309271915.h8RJFhAh007979@duracef.shout.net> X-SW-Source: 2003-09/txt/msg00607.txt.bz2 Date: Sat, 27 Sep 2003 15:15:43 -0400 From: Michael Elizabeth Chastain 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