From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTP id 326E83858417 for ; Sat, 2 Oct 2021 01:01:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 326E83858417 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-594-AJ2AazYSPTGgPuSkeZYq8w-1; Fri, 01 Oct 2021 21:01:20 -0400 X-MC-Unique: AJ2AazYSPTGgPuSkeZYq8w-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 21D1D801E72 for ; Sat, 2 Oct 2021 01:01:20 +0000 (UTC) Received: from f34-1.lan (ovpn-112-47.phx2.redhat.com [10.3.112.47]) by smtp.corp.redhat.com (Postfix) with ESMTP id EECE31972D; Sat, 2 Oct 2021 01:01:19 +0000 (UTC) From: Kevin Buettner To: gdb-patches@sourceware.org Subject: [PATCH 0/2] Fix PR 28308 - dprintf breakpoints not working when run from script Date: Fri, 1 Oct 2021 18:00:52 -0700 Message-Id: <20211002010054.1546736-1-kevinb@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" X-Spam-Status: No, score=-6.5 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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-List-Received-Date: Sat, 02 Oct 2021 01:01:23 -0000 This series consists of two patches, a relatively short fix (with a long explanation) and a test case. Kevin Buettner (2): Fix PR 28308 - dprintf breakpoints not working when run from script Test case for Bug 28308 gdb/breakpoint.c | 13 +-- .../gdb.base/dprintf-execution-x-script.c | 53 ++++++++++ .../gdb.base/dprintf-execution-x-script.exp | 97 +++++++++++++++++++ .../gdb.base/dprintf-execution-x-script.gdb | 21 ++++ 4 files changed, 175 insertions(+), 9 deletions(-) create mode 100644 gdb/testsuite/gdb.base/dprintf-execution-x-script.c create mode 100644 gdb/testsuite/gdb.base/dprintf-execution-x-script.exp create mode 100644 gdb/testsuite/gdb.base/dprintf-execution-x-script.gdb -- 2.31.1