From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 87113 invoked by alias); 11 Jun 2018 12:08:52 -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 87074 invoked by uid 89); 11 Jun 2018 12:08:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-11.9 required=5.0 tests=BAYES_00,GIT_PATCH_2,GIT_PATCH_3,SPF_PASS autolearn=ham version=3.3.2 spammy=symfile.c, UD:symfile.c, symfilec, UD:relocate.exp X-HELO: mx2.suse.de Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 11 Jun 2018 12:08:50 +0000 Received: from relay1.suse.de (charybdis-ext-too.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 12AE2AC50 for ; Mon, 11 Jun 2018 12:08:48 +0000 (UTC) From: Petr Tesarik To: gdb-patches@sourceware.org Cc: Petr Tesarik , Jeff Mahoney Subject: [PATCH v2 0/4] Allow loading symbol files with an offset Date: Mon, 11 Jun 2018 12:08:00 -0000 Message-Id: <20180611120835.27343-1-ptesarik@suse.cz> X-IsSubscribed: yes X-SW-Source: 2018-06/txt/msg00275.txt.bz2 Implement an "-o" option for symbol-file and add-symbol-file. Changes since v1: * Adjust help texts * Update gdb/NEWS Petr Tesarik (4): Add an optional offset option to the "symbol-file" command Make add-symbol-file's address argument optional Make sure that sorting does not change section order Add an optional offset option to the "add-symbol-file" command gdb/ChangeLog | 23 ++++++++ gdb/NEWS | 10 ++++ gdb/doc/ChangeLog | 13 +++++ gdb/doc/gdb.texinfo | 24 ++++++-- gdb/symfile.c | 108 +++++++++++++++++++++++++++++------- gdb/testsuite/ChangeLog | 13 +++++ gdb/testsuite/gdb.base/relocate.exp | 95 +++++++++++++++++++++++++++++++ 7 files changed, 259 insertions(+), 27 deletions(-) -- 2.13.6