From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4800 invoked by alias); 16 Mar 2014 16:34:49 -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 4791 invoked by uid 89); 16 Mar 2014 16:34:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: mtaout21.012.net.il Received: from mtaout21.012.net.il (HELO mtaout21.012.net.il) (80.179.55.169) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 16 Mar 2014 16:34:47 +0000 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0N2J00900F5YB600@a-mtaout21.012.net.il> for gdb-patches@sourceware.org; Sun, 16 Mar 2014 18:34:43 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N2J009Y0FDV7430@a-mtaout21.012.net.il>; Sun, 16 Mar 2014 18:34:43 +0200 (IST) Date: Sun, 16 Mar 2014 16:34:00 -0000 From: Eli Zaretskii Subject: Re: New feature "source-id" In-reply-to: To: Doug Evans Cc: gerhard.gappmeier@ascolab.com, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83k3buayqh.fsf@gnu.org> References: <7365721.BnaR1nHazz@lt-gergap> <83siqjb50u.fsf@gnu.org> X-IsSubscribed: yes X-SW-Source: 2014-03/txt/msg00354.txt.bz2 > Date: Sun, 16 Mar 2014 09:22:17 -0700 > From: Doug Evans > Cc: Gerhard Gappmeier , gdb-patches > > another way to go is to just have a convention for some global > variables in the binary. > With the debug info gdb can access them, and they could contain > everything that would be in the .note section. This would have an advantage of not being dependent on the ELF format of the object files.