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.129.124]) by sourceware.org (Postfix) with ESMTPS id 220F53858D32 for ; Mon, 2 Oct 2023 20:11:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 220F53858D32 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1696277497; 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=BMGq02szftf87YW01LQTa1s7PzpNfEjcsrvGUj/luOE=; b=HvOb96cYcmXX8W/RP2Y8Al+bk2llJTcj+xVvLOFX5nzP8Ah+F9eXIHbaA7khSjqg0uc0Z/ DUx8n/Vfv0od7beOPmoTPn8HMHY1qJiTM+I3yi8RxHOccHfBu7pfUmAGHhgI3/MusmfIM/ 70rnXPJqDk1G7PyS/UkXCPwFZna62QU= Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-311-Q9_35rf5OIqzSX_K1ZGAWA-1; Mon, 02 Oct 2023 16:11:16 -0400 X-MC-Unique: Q9_35rf5OIqzSX_K1ZGAWA-1 Received: by mail-ej1-f72.google.com with SMTP id a640c23a62f3a-9b2e030e4caso341677866b.1 for ; Mon, 02 Oct 2023 13:11:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696277475; x=1696882275; 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=BMGq02szftf87YW01LQTa1s7PzpNfEjcsrvGUj/luOE=; b=wyPPw86NayY1nQJfJ8NoxqBD+dt3030F6gFfQIGiRcSoFNAmypLn/+/suleldicLbu CSgpadAP7lHkMwsZN2R6wxIOCiKWiuDkAcnfhES4Qqns0HP7GHkSVXMZQluXu98Lotuo wxa5s320a88V6JoWcvpWAG1LWNAAjxtbuQSjnt+kvcoVlU1NvHtFkP8dzfPGCDzZIEW+ Spxi2IGI1QagF48rxtSmNavPsx4S8KRhOzJBasLMaSAIS0TiHxj8iY+Z4WcBeNrNy1g+ I/5AWDJStt8jxjyeEx9OfzgCTKcptVcbuBhX3wU7hg/WiRH+KMUUJ1kiU+9h1b2nZv6X pIQw== X-Gm-Message-State: AOJu0YzSyFt/GNuUo1pfep9mMD+PD6H4xgw9Vx7zeIImfxXehsJOEtvc fKSNuWDdv2QRSfy/QD/moUp93jb8G7sie00YIEOCdbJAPQTRw6h9Q+pBwkPbYhgh9JaVK5P53TW VsuLuztfMIhXz32VBA6/OWK7iIgp6llM9uOGywZslbttU7CuS1JfPxP1YKBQa/skPoQsvAQW9p3 /Qll2tCA== X-Received: by 2002:a17:906:73cd:b0:9b2:bcea:e517 with SMTP id n13-20020a17090673cd00b009b2bceae517mr626488ejl.10.1696277474978; Mon, 02 Oct 2023 13:11:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFj5RFaSiGL5oWSnqt6WLnbWiZpzrbYGQi/iW2Ly/a554GmW0FH95CzMVGfF37UUFyEtD8tWQ== X-Received: by 2002:a17:906:73cd:b0:9b2:bcea:e517 with SMTP id n13-20020a17090673cd00b009b2bceae517mr626472ejl.10.1696277474501; Mon, 02 Oct 2023 13:11:14 -0700 (PDT) Received: from localhost ([31.111.84.209]) by smtp.gmail.com with ESMTPSA id zg22-20020a170907249600b009a5f1d15642sm17519567ejb.158.2023.10.02.13.11.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 13:11:14 -0700 (PDT) From: Andrew Burgess To: gdb-patches@sourceware.org Cc: Andrew Burgess Subject: [PUSHED] gdb/python: reformat file with black Date: Mon, 2 Oct 2023 21:11:10 +0100 Message-Id: X-Mailer: git-send-email 2.25.4 In-Reply-To: <72cbc08125523c408306fca80317b9e7fad6e82e.1695993752.git.aburgess@redhat.com> References: <72cbc08125523c408306fca80317b9e7fad6e82e.1695993752.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=-11.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,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 List-Id: Reformat a Python file with black after this commit: commit 59912fb2d22f8a4bb0862487f12a5cc65b6a013f Date: Tue Sep 19 11:45:36 2023 +0100 gdb: add Python events for program space addition and removal There should be no functional change with this commit. --- gdb/testsuite/gdb.python/py-progspace-events.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gdb/testsuite/gdb.python/py-progspace-events.py b/gdb/testsuite/gdb.python/py-progspace-events.py index 3abb421cffa..555221dcd4e 100644 --- a/gdb/testsuite/gdb.python/py-progspace-events.py +++ b/gdb/testsuite/gdb.python/py-progspace-events.py @@ -19,11 +19,14 @@ import gdb import gdb.events + def new_progspace(event): print("NewProgspaceEvent: %s" % str(event.progspace)) + def free_progspace(event): print("FreeProgspaceEvent: %s" % str(event.progspace)) + gdb.events.new_progspace.connect(new_progspace) gdb.events.free_progspace.connect(free_progspace) base-commit: 57c699398c1a61f1a57574a5ed64654cbadd2a50 -- 2.25.4