Message ID | cover.1730020661.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 C6E6E3858C42 for <patchwork@sourceware.org>; Sun, 27 Oct 2024 09:21:28 +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 766B13858405 for <gdb-patches@sourceware.org>; Sun, 27 Oct 2024 09:19:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 766B13858405 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 766B13858405 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=1730020784; cv=none; b=peVbtjbwWQa5nqgkOI6maKDLjiQlkWjDL8lypXfMDY+NrNKMZxcIZH38UacW9p1WMioCVK/KwEORhey1yw4MHHj72K9CAVCRazjDvG8y2HflH0lWK4iv/fiOZ57wa+s8abGLtMWiszs0vS+dXKy5CElvlALIiQ+urqaF84JL0hE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730020784; c=relaxed/simple; bh=CWJz1CKLHRFH9Q70kFtxM98CTbdFcVUW2MNpdGUzA60=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=fSCaa6m+at2JQVnXKEQ93UepkzbiRAsVb40nhcflA/2SqULv6o+sqH4k5MsqBxVi0gxo0sEisvtvPR9ctpdpR03iOcnisrab5WOdCWE3Hg4iCxMRP7lzYW1v3WDDdgk3ksefAlFQwPSh8q7ZXCTD8G/LFioRhYCM4l88BrBj5Q4= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1730020781; 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; bh=jPjh8MGHZkTNECTYKJGGFzDyhM8Ko0yfseWCfMD0IFs=; b=IxDrhTQ5Gjyg/kI3rradAura8VYzOrFpO2X5/dpCbFIECo6P8j7Zcn8b2QgPhgAx2MUgPn wpdzN0VeP47EGp3tEPfAKBx2VVVWdSibMzkgQQs7Xw8DapJCqZO2amHyckx7YW+vPV/iLx w0iycVQYiCFE4d3cRzgkoiLmZ/YaKpA= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-235-g908B4NdMyyKEsQAEfKXlA-1; Sun, 27 Oct 2024 05:19:19 -0400 X-MC-Unique: g908B4NdMyyKEsQAEfKXlA-1 Received: by mail-wr1-f71.google.com with SMTP id ffacd0b85a97d-37d95264eb4so1959059f8f.2 for <gdb-patches@sourceware.org>; Sun, 27 Oct 2024 02:19:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730020758; x=1730625558; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=jPjh8MGHZkTNECTYKJGGFzDyhM8Ko0yfseWCfMD0IFs=; b=HoN9hMakMwH6tV0HNvDywsV5CGVa4s2ASvaEIHKhGHITn9UW3aYQa2rHVg2hlxIQEA HhyMm7vIaiEcCrye5mpqDYLMyKZ9ilnXuwJQUZTTZT9oBcflvyFYwHS0mJjt9n0K3FV+ z2bDofBGdkvusUnNv9FEhDtinB/bIubM1z513+dxjZ3rKg2Uxl6PfctfaQ14QJk1uFH6 B7VnBgw6R+12pTYMfYuLsgYegoGz+0+A6RdBp07S6uBW1tNJnYvAq4W7LeQpHaLPN+I9 R1G9Df204irYIIJf5e4ZhbKIKSqUQgWp71+qpDgFzkemHHUmAi3xAbkP3QaFYIIDoY5F dUDw== X-Gm-Message-State: AOJu0YzdZKw2AS4zChCGsdYd2qFzt6V+0bzjDNSdHyJHHwDmSO3EBZQV j3JKQ4Ysv1RZ6VYwK5uebAyPlKim/4ZAFp5xj2kAHhc680/dftbhbxNe5u48kWJ9PG1N2GOZ1tM 7NY0xXRl31g6p7bHSGLYJLWuk52R0xnJYIqZCrPRq8awHWIK7vDQuEzQqq7omlJW9A28Xef3/vw +Y2WsVVGr8+Zo/SoL3qjuqhJySmlcADjcfdXeoAewcQgM= X-Received: by 2002:adf:fb92:0:b0:37d:2e78:8875 with SMTP id ffacd0b85a97d-38061224176mr3429083f8f.56.1730020758515; Sun, 27 Oct 2024 02:19:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFsUeXKA/Nq62jTx8yNdahUoRiW9v2RbONKtPdvV+/bnpTRHmxaULuFcDVjprWVarIss+aFbA== X-Received: by 2002:adf:fb92:0:b0:37d:2e78:8875 with SMTP id ffacd0b85a97d-38061224176mr3429069f8f.56.1730020758135; Sun, 27 Oct 2024 02:19:18 -0700 (PDT) Received: from localhost (197.209.200.146.dyn.plus.net. [146.200.209.197]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38058b93006sm6281870f8f.93.2024.10.27.02.19.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Oct 2024 02:19:17 -0700 (PDT) From: Andrew Burgess <aburgess@redhat.com> To: gdb-patches@sourceware.org Cc: Andrew Burgess <aburgess@redhat.com> Subject: [PATCHv1 0/2] Fix regression passing core files on GDB command line Date: Sun, 27 Oct 2024 09:19:12 +0000 Message-Id: <cover.1730020661.git.aburgess@redhat.com> X-Mailer: git-send-email 2.25.4 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 |
Fix regression passing core files on GDB command line
|
|
Message
Andrew Burgess
Oct. 27, 2024, 9:19 a.m. UTC
My recent work on filename completion managed to break some cases for passing a core file to GDB from the command line. Patch #1 is a minor cleanup. Patch #2 fixes the regression. Thanks, Andrew --- Andrew Burgess (2): gdb: make core_target_open static gdb: allow core file containing special characters on the command line gdb/corelow.c | 8 +- gdb/gdbcore.h | 4 - gdb/main.c | 17 ++-- gdb/testsuite/gdb.base/corefile.exp | 116 +++++++++++++--------------- gdbsupport/pathstuff.cc | 21 +++++ gdbsupport/pathstuff.h | 6 ++ 6 files changed, 95 insertions(+), 77 deletions(-) base-commit: a723c56efb07c4f8b3f6a3ed4b878a2f8f5572cc