From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 819 invoked by alias); 29 Mar 2013 01:59:37 -0000 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 Received: (qmail 787 invoked by uid 89); 29 Mar 2013 01:59:31 -0000 X-Spam-SWARE-Status: No, score=-3.6 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL autolearn=ham version=3.3.1 Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 29 Mar 2013 01:59:28 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 395FC2E866; Thu, 28 Mar 2013 21:59:27 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id XxCLZgCYQL+a; Thu, 28 Mar 2013 21:59:27 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id CFBC22E16D; Thu, 28 Mar 2013 21:59:26 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id EFCE0C0342; Thu, 28 Mar 2013 18:59:24 -0700 (PDT) Date: Fri, 29 Mar 2013 08:02:00 -0000 From: Joel Brobecker To: Eli Zaretskii Cc: gdb-patches@sourceware.org, palves@redhat.com, jan.kratochvil@redhat.com, ralf.corsepius@rtems.org, vapier@gentoo.org, joel.sherrill@oarcorp.com Subject: Re: one week to gdb-7.6 release? Message-ID: <20130329015924.GA14360@adacore.com> References: <20130320160032.GC5447@adacore.com> <83vc8myoyb.fsf@gnu.org> <83ehf64cfs.fsf@gnu.org> <20130323162534.GI5447@adacore.com> <834ng23soj.fsf@gnu.org> <20130325151825.GJ5447@adacore.com> <83k3ov1mo0.fsf@gnu.org> <20130325162524.GK5447@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130325162524.GK5447@adacore.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2013-03/txt/msg01094.txt.bz2 > > The > > code in main.c already does > > > > #ifdef __MINGW32__ > > /* On Windows, argv[0] is not necessarily set to absolute form when > > GDB is found along PATH, without which relocation doesn't work. */ > > gdb_program_name = windows_get_absolute_argv0 (argv[0]); > > #else > > gdb_program_name = xstrdup (argv[0]); > > #endif > > > > Is moving that to posix-hdep.c just to avoid an ifdef? > > The main purpose is to move the code away out of windows-nat, which > is only linked in native debuggers, not cross ones - so that building > a cross debugger hosted on Windows will work again. Basically, your > new function is really only dependent on the host, whereas the -nat > file makes the assumption that host & target are Windows. I have added this item to the TODO list for the 7.6 release, so as not to forget. I was wondering if this discussion was stalled, or if it was just a matter of not finding the time to do the implementation. I could possibly take care of it tomorrow if you'd like. There is not real rush, however, as I will be off next week, and thus unable to create a release at least until Tue Apr 9th. -- Joel