From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23722 invoked by alias); 21 Sep 2010 19:55:04 -0000 Received: (qmail 23686 invoked by uid 22791); 21 Sep 2010 19:55:02 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail1.thewrittenword.com (HELO mail1.thewrittenword.com) (69.67.212.77) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 21 Sep 2010 19:54:57 +0000 Received: from mail1.il.thewrittenword.com (emma-internal-gw.il.thewrittenword.com [192.168.13.25]) by mail1.thewrittenword.com (Postfix) with ESMTP id 653DE5CD6; Tue, 21 Sep 2010 20:14:22 +0000 (UTC) Received: from tw.local (unknown [192.168.1.254]) by mail1.il.thewrittenword.com (Postfix) with ESMTP id 4654776A; Tue, 21 Sep 2010 19:54:54 +0000 (UTC) Received: from tw.local (tw.local [127.0.0.1]) by tw.local (8.14.4/8.14.4) with ESMTP id o8LJsqTS000609; Tue, 21 Sep 2010 14:54:52 -0500 Received: (from pogma@localhost) by tw.local (8.14.4/8.14.4/Submit) id o8LJsp3U000607; Tue, 21 Sep 2010 14:54:51 -0500 Date: Tue, 21 Sep 2010 21:09:00 -0000 From: "Peter O'Gorman" To: Tom Tromey Cc: gdb-patches@sourceware.org Subject: Re: minor portability patches Message-ID: <20100921195449.GE32745@tw.local> References: <20100921164814.GC32745@tw.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-12-10) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-09/txt/msg00354.txt.bz2 On Tue, Sep 21, 2010 at 12:24:20PM -0600, Tom Tromey wrote: > Me neither. I'm not sure how we handle static linking against python, > or whether we even support it. > > Peter> __FUNCTION__ is a gccism. > > BFD patches should go to the binutils list. > I should have know that, sorry. > Peter> At least solaris cc complained about returning from void functions. > > This one and the cplus_struct_default patch are obvious once you have a > ChangeLog entry. For those then (0004-* and 0006-* in my earlier mail): 2010-09-21 Peter O'Gorman * dwarf2loc.c (dwarf_expr_dwarf_call, needs_frame_dwarf_call): Do not return from void functions. * gdbtypes.c (cplus_struct_default): Initialize portably. 0002-* * aix-thread.c: Build fixes for aix6.1. 0003-*: * configure.ac: Do not add -rdynamic for non GCC compilers. Thanks, Peter -- Peter O'Gorman pogma@thewrittenword.com