From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28180 invoked by alias); 9 Jun 2005 03:44:16 -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 28168 invoked by uid 22791); 9 Jun 2005 03:44:09 -0000 Received: from romy.inter.net.il (HELO romy.inter.net.il) (192.114.186.66) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 09 Jun 2005 03:44:09 +0000 Received: from HOME-C4E4A596F7 (IGLD-80-230-153-20.inter.net.il [80.230.153.20]) by romy.inter.net.il (MOS 3.5.8-GR) with ESMTP id BME67800 (AUTH halo1); Thu, 9 Jun 2005 06:44:05 +0300 (IDT) Date: Thu, 09 Jun 2005 03:44:00 -0000 Message-Id: From: Eli Zaretskii To: gdb-patches@sourceware.org In-reply-to: <20050608214956.GA10586@nevyn.them.org> (message from Daniel Jacobowitz on Wed, 8 Jun 2005 17:49:56 -0400) Subject: Re: RFC: Improve support for "debugging" unlinked objects Reply-to: Eli Zaretskii References: <20050608214956.GA10586@nevyn.them.org> X-SW-Source: 2005-06/txt/msg00072.txt.bz2 > Date: Wed, 8 Jun 2005 17:49:56 -0400 > From: Daniel Jacobowitz > > If you compile a file containing both code and initialized data, and load > the unlinked object (.o) file using GDB, "print Variable" won't work. In what situations would such a method (loading an unlinked object file) be useful? I don't see it documented anywhere in the manual, so I'd like to consider saying a few words about when and how to do that. TIA