From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27334 invoked by alias); 9 Feb 2015 18:49:34 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 27300 invoked by uid 89); 9 Feb 2015 18:49:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 09 Feb 2015 18:49:32 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id CE7138E0AA1; Mon, 9 Feb 2015 19:49:29 +0100 (CET) Date: Mon, 09 Feb 2015 18:49:00 -0000 From: Corinna Vinschen To: cygwin-apps@cygwin.com Subject: Re: perl-5.14.4 Message-ID: <20150209184929.GG5633@calimero.vinschen.de> Reply-To: cygwin-apps@cygwin.com Mail-Followup-To: cygwin-apps@cygwin.com References: <87iofh8l54.fsf@Rainer.invalid> <87bnl6n8uw.fsf@Rainer.invalid> <87386gtaub.fsf@Rainer.invalid> <20150209102529.GH28033@calimero.vinschen.de> <87vbjbuhtf.fsf@Rainer.invalid> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3XA6nns4nE4KvaS/" Content-Disposition: inline In-Reply-To: <87vbjbuhtf.fsf@Rainer.invalid> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-02/txt/msg00110.txt.bz2 --3XA6nns4nE4KvaS/ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1746 On Feb 9 18:15, Achim Gratz wrote: > Corinna Vinschen writes: > > I think it's important to keep the information in sync while building > > the packages. A later rebase will break the connection between debug > > symbols and runtime symbols as well, obviously. >=20 > Obviously? I have no indication that the debug information is damaged > once it's been stripped off into a separate file. Which may be a hint > on what rebase might do wrong. What I mean is this. If the debug info file does not refer to the same addresses than the file in memory, then GDB doesn't resolve the symbols correctly. > > Maybe we should think of rebasing the actual binaries as well as their > > debugging counterparts to keep everything in sync, but that's a bit > > much effort... >=20 > I may not understand what is really going on, but the way I see it, > rebase does exactly that while the debug information is still part of > the object file. It seems to do something extra or wrong, since objcopy > will the not be able to copy out that information. Looking with objdump > reveals the section is still there ans has contents, but it doesn't get > associated with the code in the correct manner anymore. I'm not an expert on this stuff either, so I can just assume that the rebasing doesn't catch the debug info and that the debug info then points into nirvana. I also don't know if there's a way around that. Would you mind to discuss your problem on the binutils mailing list? Hopefully they know if there's a way which preserves the info so that GDB doesn't fish in muddy waters. Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --3XA6nns4nE4KvaS/ Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJU2QE5AAoJEPU2Bp2uRE+ggHwP/AjUvalx949e5RqW010mbS0r eaRdbwK0V20YMOF+wXtfU9J09dbyTN4zAU9AfSHkEIccERrdWOm0wznghGEk1a6O GwEyDHmMTkbEDaPIPqD88+8eNeiWVLk2qt8/f6Yug28ZZn6nhOFx4TLEiML+qZnG ebuHzn62lcuDKrbmIQgrsDKR+muFz5y8YaNpKPI+x2/Fzue7vSa4m8Tb3XaaArzZ 2NPzAa+4ShSdy0Ip9kZ9hLcc6ECjGaWva7jO1MyQVa3M60Wlzzb8m6MsyrRCxT6p nb7LdbDtLyJN50KbkiLtbfx2ch3Fel6n2TqId0s75Ep3x9mytaee/2MsWWb30nmz G6VxGykeIavIJh8l1YPF0PhLgH/WBUQczU2X8bdCTQt3W3bss0IHXa7e3kyaWaiX Goi1JztIwX5I4Ypixu3WMXv0G/KWJm1uAOzHv1T7bepWoSyHE8LmsU7/vZ93xWYC HPESlRDtUJTUc5bSYxSWYlO3pzJbcWHrCdJrxwetaMFn7fgtDWwD8K3f7k9qeGRn uCydgOUtXvFd5CQWiHMnbYtsHECbe71YGr3HaNxGpGX1ht8UBJENJTHMTPRQ6iBo l11av9+J3k3Jzb46GrlC/Sa01xYfmk76yrDJUiO/VPb/9WRhGkill1vFtx5dEN/+ /FIl3ad9Fc1wqHTetwpR =FH6l -----END PGP SIGNATURE----- --3XA6nns4nE4KvaS/--