From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18411 invoked by alias); 7 Aug 2005 15:12:22 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 18403 invoked by uid 22791); 7 Aug 2005 15:12:20 -0000 Received: from smtp107.sbc.mail.mud.yahoo.com (HELO smtp107.sbc.mail.mud.yahoo.com) (68.142.198.206) by sourceware.org (qpsmtpd/0.30-dev) with SMTP; Sun, 07 Aug 2005 15:12:20 +0000 Received: (qmail 75143 invoked from network); 7 Aug 2005 15:12:18 -0000 Received: from unknown (HELO lucon.org) (hjjean@sbcglobal.net@67.122.70.18 with login) by smtp107.sbc.mail.mud.yahoo.com with SMTP; 7 Aug 2005 15:12:18 -0000 Received: by lucon.org (Postfix, from userid 1000) id E400D63F44; Sun, 7 Aug 2005 08:12:16 -0700 (PDT) Date: Sun, 07 Aug 2005 15:12:00 -0000 From: "H. J. Lu" To: GDB Subject: Does gdb understand copy relocation? Message-ID: <20050807151216.GA18252@lucon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-SW-Source: 2005-08/txt/msg00031.txt.bz2 On targets with copy relocation, when executable references a data symbol defined in DSO, a copy relocation will be used to copy the definition from DSO to executable and the copy in executable will be used by the process. But gdb I am using insists using the one in DSO. Is there a way to teach gdb about copy relocation? H.J.