From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by sourceware.org (Postfix) with ESMTP id 213F3383E827 for ; Mon, 4 May 2020 18:09:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 213F3383E827 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-183-XmvSTMWLPkWiRYeXLKsGHA-1; Mon, 04 May 2020 14:09:51 -0400 X-MC-Unique: XmvSTMWLPkWiRYeXLKsGHA-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6B37E8014D9 for ; Mon, 4 May 2020 18:09:50 +0000 (UTC) Received: from host1.jankratochvil.net (ovpn-112-98.ams2.redhat.com [10.36.112.98]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9BC5F600F5; Mon, 4 May 2020 18:09:49 +0000 (UTC) Date: Mon, 4 May 2020 20:09:46 +0200 From: Jan Kratochvil To: Kevin Buettner Cc: gdb-patches@sourceware.org Subject: Re: [PATCH 1/4] Remove hack for GDB which sets the section size to 0 Message-ID: <20200504180946.GA3840820@host1.jankratochvil.net> References: <20200305004243.334607-1-kevinb@redhat.com> <20200305004243.334607-2-kevinb@redhat.com> MIME-Version: 1.0 In-Reply-To: <20200305004243.334607-2-kevinb@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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: Mon, 04 May 2020 18:09:58 -0000 On Thu, 05 Mar 2020 01:42:40 +0100, Kevin Buettner wrote: > This commit removes a hack for GDB which was introduced in 2007. > See: >=20 > https://sourceware.org/ml/binutils/2007-08/msg00044.html >=20 > That hack mostly allowed GDB's handling of core files to continue to > work without any changes to GDB. I believe this hack is no longer needed since GDB parses /proc/PID/smaps: =09Implement support for checking /proc/PID/coredump_filter =09https://sourceware.org/git/?p=3Dbinutils-gdb.git;a=3Dcommit;h=3Ddf8411da= 087dc05481926f4c4a82deabc5bc3859 Jan