Message ID | cover.1730020454.git.aburgess@redhat.com |
---|---|
Headers |
Return-Path: <gdb-patches-bounces~patchwork=sourceware.org@sourceware.org> 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 8EF9D3858C78 for <patchwork@sourceware.org>; Sun, 27 Oct 2024 09:16:37 +0000 (GMT) X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTP id 52B683858CDA for <gdb-patches@sourceware.org>; Sun, 27 Oct 2024 09:15:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 52B683858CDA Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 52B683858CDA Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730020527; cv=none; b=kIoINfMNf8gTFDYDvsHPjeGUIJnXg8gzQPgjubrTsQehzim0oYq1KKrRnTQ+0Ph1rn3O5kCMKVoTuZjQlLgLJFkB1ZBXH2bCWzEn4TqCykAmxMERKaVXjaTGL0DTlPXseXC3BK5nn8EzOdJWSlT7+KAgNTVAoFCC2LC0nNGohHg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730020527; c=relaxed/simple; bh=FJHBYqwadR5zMDOevrIvxX+W9aYq1ucsA5o5hQqlAbs=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=P2GJv3A4U8uHYdzpNn8f9EImX9Bozp2BHriGqsoFTPXS/r8QS34jaIAmgJ3LkC9pyJYxyeSAuRETuwMDMgvY1TzD5hwnSKxMfWzmnwEL4PQrz2mRwOgNAvCUs8ehNTRsE1GGXRK0yu52fYrufh5jeCdlMR3z/Z4V5HHc2nb6bsM= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1730020524; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=z1pxCsG/xzdZ8y8/Kv+PCaoWtnOBeuBwtk5B7dlINu0=; b=bvKzm7fxgVilxMTivEbzPe/2M2yxYWwl06AdvZ7jsurdokju4pbbn4uGfxbW8jhvpnZTf1 LbopnW4dtfaPE7kMVlR3q2zOt1+uwciguNcBeEpbjaysRIIm39JwcrIC3Zkk6B/zYEMRHT py+U8pnsYthQso/m1v0mlHZKsoD/JLk= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-605-G11a2Is6OAyympiGmxjVUA-1; Sun, 27 Oct 2024 05:15:12 -0400 X-MC-Unique: G11a2Is6OAyympiGmxjVUA-1 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-37d4cf04be1so1618987f8f.2 for <gdb-patches@sourceware.org>; Sun, 27 Oct 2024 02:15:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730020510; x=1730625310; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=z1pxCsG/xzdZ8y8/Kv+PCaoWtnOBeuBwtk5B7dlINu0=; b=LHmhXtIC8f+p5ADhbuPM+g/PYzMRNg5KM55w3ttFQqy+C6pngkbJ60eF415I6EsIKb hPi0CEC9YyNPA6nPcHWzmCbaEIuZi2dOUYUXZdtILwZA9Lxo5tchNxZTbU3KilhU9VTC CERqPPYy26v13Uzxnxn3gK9I1MvXmjZmDIO5eWPB5esxFtyAr/hy5AdFxMD3T4QOSoka LuJhhD4UpfsQ5GFsIvb6WtwLE46dC7h9Iwc1igJ0dKB7F8e3n6ptb5pXIU8M/xd45ssJ 8qfHSYDS7uCPHcgUAgqkz+TfaXY1RW5atQKzkd+Wf9jHrbF6RS3q/4AsLiKDiFCUwXur 9M0w== X-Gm-Message-State: AOJu0YzxPcccKZzkS/EHYOXIRCJQKPtGHUb5q2fy7ioZhzRXSSvkQ/2y zLJnRl8hmes97DaUENUFWhoiALHuZra5bLQ5dvHMsurVG8MUuR9Exs7ZCswviUjoqOgVu69rHJW 5IEI7FR0eNcZ9GIklujlv/z6TGhE5U1JnQUyUu/UOo01D4vjJ18HJloFeI/0PsAqPXR7hJQOvo+ HtMfDOmAdVQVRQBCH2FRbeNooVa9vFtTaziEkoxx5WXzc= X-Received: by 2002:a5d:6acf:0:b0:37d:4125:5cba with SMTP id ffacd0b85a97d-38061199a40mr3109884f8f.32.1730020510515; Sun, 27 Oct 2024 02:15:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFQAdU7/BcYzXiw0T8aV+gYs8aBh3wsA9TsB5J8OlfuZFH/2eigiQQ+EKmheqTKIxAEOYhwcg== X-Received: by 2002:a5d:6acf:0:b0:37d:4125:5cba with SMTP id ffacd0b85a97d-38061199a40mr3109864f8f.32.1730020509985; Sun, 27 Oct 2024 02:15:09 -0700 (PDT) Received: from localhost (197.209.200.146.dyn.plus.net. [146.200.209.197]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-431935f875esm69370225e9.37.2024.10.27.02.15.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Oct 2024 02:15:09 -0700 (PDT) From: Andrew Burgess <aburgess@redhat.com> To: gdb-patches@sourceware.org Cc: Andrew Burgess <aburgess@redhat.com> Subject: [PATCHv2 0/2] Filename option support Date: Sun, 27 Oct 2024 09:15:03 +0000 Message-Id: <cover.1730020454.git.aburgess@redhat.com> X-Mailer: git-send-email 2.25.4 In-Reply-To: <cover.1727786798.git.aburgess@redhat.com> References: <cover.1727786798.git.aburgess@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP 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.30 Precedence: list List-Id: Gdb-patches mailing list <gdb-patches.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/gdb-patches/> List-Post: <mailto:gdb-patches@sourceware.org> List-Help: <mailto:gdb-patches-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=subscribe> Errors-To: gdb-patches-bounces~patchwork=sourceware.org@sourceware.org |
Series |
Filename option support
|
|
Message
Andrew Burgess
Oct. 27, 2024, 9:15 a.m. UTC
In v2: - Rebased to current HEAD. - Retested. --- Finally! After the recent filename completion changes, this mini-series adds filename option support to GDB. I know there are other commands which can potentially make use of the new filename options, but for now I've just updated add-inferior as an example use case. --- Andrew Burgess (2): gdb: add filename option support gdb: use option framework for add-inferior and clone-inferior gdb/cli/cli-option.c | 90 +++++- gdb/cli/cli-option.h | 20 ++ gdb/inferior.c | 291 +++++++++++------- gdb/maint-test-options.c | 28 +- .../gdb.base/filename-completion.exp | 7 + gdb/testsuite/gdb.base/options.exp | 95 +++++- 6 files changed, 410 insertions(+), 121 deletions(-) base-commit: a723c56efb07c4f8b3f6a3ed4b878a2f8f5572cc
Comments
Andrew Burgess <aburgess@redhat.com> writes: > In v2: > > - Rebased to current HEAD. > > - Retested. > > --- > > Finally! After the recent filename completion changes, this > mini-series adds filename option support to GDB. I know there are > other commands which can potentially make use of the new filename > options, but for now I've just updated add-inferior as an example use > case. I've gone ahead and checked this series in. As always, if there's any post-commit feedback then I'm happy to address it. Thanks, Andrew > > --- > > Andrew Burgess (2): > gdb: add filename option support > gdb: use option framework for add-inferior and clone-inferior > > gdb/cli/cli-option.c | 90 +++++- > gdb/cli/cli-option.h | 20 ++ > gdb/inferior.c | 291 +++++++++++------- > gdb/maint-test-options.c | 28 +- > .../gdb.base/filename-completion.exp | 7 + > gdb/testsuite/gdb.base/options.exp | 95 +++++- > 6 files changed, 410 insertions(+), 121 deletions(-) > > > base-commit: a723c56efb07c4f8b3f6a3ed4b878a2f8f5572cc > -- > 2.25.4