From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2486 invoked by alias); 16 May 2008 18:32:54 -0000 Received: (qmail 2477 invoked by uid 22791); 16 May 2008 18:32:53 -0000 X-Spam-Check-By: sourceware.org Received: from mtagate4.de.ibm.com (HELO mtagate4.de.ibm.com) (195.212.29.153) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 16 May 2008 18:32:32 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate4.de.ibm.com (8.13.8/8.13.8) with ESMTP id m4GIWTV6214708 for ; Fri, 16 May 2008 18:32:29 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v8.7) with ESMTP id m4GIWSKd2527380 for ; Fri, 16 May 2008 20:32:29 +0200 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m4GIWSM5028469 for ; Fri, 16 May 2008 20:32:28 +0200 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with SMTP id m4GIWS30028466; Fri, 16 May 2008 20:32:28 +0200 Message-Id: <200805161832.m4GIWS30028466@d12av02.megacenter.de.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Fri, 16 May 2008 20:32:28 +0200 Subject: Re: [RFC] Remove addr, endaddr, offset from obj_section To: pedro@codesourcery.com (Pedro Alves) Date: Sat, 17 May 2008 00:11:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org In-Reply-To: <200805161721.15817.pedro@codesourcery.com> from "Pedro Alves" at May 16, 2008 05:21:15 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: 2008-05/txt/msg00515.txt.bz2 Pedro Alves wrote: > I've been meaning to test this on Cygwin/MinGW/Dwarf before > posting, but since the subject came up, here it goes anyway. Thanks! > I seems the comment is a bit offbase. The reader still applies > ANOFFSET to the symbols, so psymtab->symtab expansion time sees > the correct section offsets. It feels like the xcoff reader > should cope with the section offsets != 0 internally, and not > do this ignoring, but since I don't have access to any AIX system, > I didn't investigate that further. But I do think things should > still work as they used to. I haven't looked into the patch in detail, but just one comment here: The guard on this block of code is #ifndef DEPRECATED_IBM6000_TARGET so it is executed on every target *but* AIX. Removing it doesn't change the behaviour on AIX, so there should be no need to specially test on AIX. (In any case, I'll be happy to test patches on AIX if necessary.) Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com