From patchwork Wed May 10 11:12:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matti Puputti X-Patchwork-Id: 55750 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C9CDD3856DE6 for ; Wed, 10 May 2023 11:13:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C9CDD3856DE6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1683717185; bh=bGX/+2I3Y0GZ/iT2EtGrwhzt03ph5USWkud91iCLJ6Q=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=hZvqlLZUQtmDYYSLrKoAP/DQ4dwZjjqCkHz/h9HzCMmDXiU4UTI2Uhl3FcAFI4aL5 pButeiptPmaHFHoGQgyI/G6pL84aBOH9gaOmbensVmUFK3aQpkz1cUpU0J0Ba1fDCt LmEk3SgA5XfWbwqNCGWMHstv2vXLhAk2ghht1los= X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by sourceware.org (Postfix) with ESMTPS id BABD03858C66 for ; Wed, 10 May 2023 11:12:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BABD03858C66 X-IronPort-AV: E=McAfee;i="6600,9927,10705"; a="334654026" X-IronPort-AV: E=Sophos;i="5.99,264,1677571200"; d="scan'208";a="334654026" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 May 2023 04:12:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10705"; a="732113340" X-IronPort-AV: E=Sophos;i="5.99,264,1677571200"; d="scan'208";a="732113340" Received: from ull-mpuputti-02.iul.intel.com (HELO localhost) ([172.28.49.83]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 May 2023 04:12:39 -0700 To: gdb-patches@sourceware.org Cc: aburgess@redhat.com Subject: [PATCH v4 0/1] gdb, infcmd: Support jump command with same line in Date: Wed, 10 May 2023 13:12:29 +0200 Message-Id: <20230510111230.839619-1-matti.puputti@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Matti Puputti via Gdb-patches From: Matti Puputti Reply-To: Matti Puputti Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org Sender: "Gdb-patches" This new patch addresses comments from Andrew Burgess. Patch 1: https://sourceware.org/pipermail/gdb-patches/2023-March/197738.html Cover letter for patch 1: https://sourceware.org/pipermail/gdb-patches/2023-March/197737.html Bruno's comments on patch 1: https://sourceware.org/pipermail/gdb-patches/2023-April/198859.html Patch 2: https://sourceware.org/pipermail/gdb-patches/2023-April/198885.html Bruno's comments on patch 2: https://sourceware.org/pipermail/gdb-patches/2023-April/198909.html Patch 3: https://sourceware.org/pipermail/gdb-patches/2023-April/198912.html Andrew's comments on patch 3: https://sourceware.org/pipermail/gdb-patches/2023-April/199181.html Matti Puputti (1): gdb, infcmd: Support jump command with same line in multiple symtabs gdb/doc/gdb.texinfo | 5 +- gdb/infcmd.c | 13 ++++- .../gdb.base/jump_multiple_objfiles-foo.c | 24 +++++++++ .../gdb.base/jump_multiple_objfiles.c | 30 +++++++++++ .../gdb.base/jump_multiple_objfiles.exp | 54 +++++++++++++++++++ .../gdb.base/jump_multiple_objfiles.h | 30 +++++++++++ 6 files changed, 153 insertions(+), 3 deletions(-) create mode 100755 gdb/testsuite/gdb.base/jump_multiple_objfiles-foo.c create mode 100755 gdb/testsuite/gdb.base/jump_multiple_objfiles.c create mode 100755 gdb/testsuite/gdb.base/jump_multiple_objfiles.exp create mode 100755 gdb/testsuite/gdb.base/jump_multiple_objfiles.h