From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19369 invoked by alias); 11 Jun 2018 15:23:35 -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 19348 invoked by uid 89); 11 Jun 2018 15:23:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=H*r:4.82, H*r:2001, ptesarik@suse.cz, ptesariksusecz X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (208.118.235.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 11 Jun 2018 15:23:33 +0000 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSOfL-0003oq-Bp for gdb-patches@sourceware.org; Mon, 11 Jun 2018 11:23:32 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46119) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSOfE-0003nh-AA; Mon, 11 Jun 2018 11:23:24 -0400 Received: from [176.228.60.248] (port=2071 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fSOfD-0003GM-I0; Mon, 11 Jun 2018 11:23:24 -0400 Date: Mon, 11 Jun 2018 15:23:00 -0000 Message-Id: <83k1r5qrd8.fsf@gnu.org> From: Eli Zaretskii To: Petr Tesarik CC: gdb-patches@sourceware.org, jeffm@suse.com In-reply-to: <20180611120835.27343-2-ptesarik@suse.cz> (message from Petr Tesarik on Mon, 11 Jun 2018 14:08:32 +0200) Subject: Re: [PATCH v2 1/4] Add an optional offset option to the "symbol-file" command Reply-to: Eli Zaretskii References: <20180611120835.27343-1-ptesarik@suse.cz> <20180611120835.27343-2-ptesarik@suse.cz> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-IsSubscribed: yes X-SW-Source: 2018-06/txt/msg00281.txt.bz2 > From: Petr Tesarik > Cc: Petr Tesarik , Jeff Mahoney > Date: Mon, 11 Jun 2018 14:08:32 +0200 > > If the main file is relocated at runtime, all symbols are offset by > a fixed amount. Let the user specify this offset when loading a > symbol file. > > gdb/ChangeLog: > 2018-06-11 Petr Tesarik > > * symfile.c (symbol_file_command, symbol_file_add_main_1) > (_initialize_symfile): Add option "-o" to symbol-file to add an > offset to each section of the symbol file. > > gdb/doc/ChangeLog: > 2018-06-08 Petr Tesarik > > * gdb.texinfo (Files): Document "symbol-file -o offset". > > gdb/testsuite/ChangeLog: > 2018-06-11 Petr Tesarik > > * gdb.base/relocate.exp: Add test for "symbol-file -o ". I already approved the documentation parts, didn't I? Thanks.