From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by sourceware.org (Postfix) with ESMTPS id 1C3FB385B507 for ; Sat, 25 Feb 2023 09:31:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1C3FB385B507 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id EFA4A37D67; Sat, 25 Feb 2023 09:31:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1677317515; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hyQYJ35Bzo6fZ8IjDYvgU3vGQ9t9/+rrNDBNhxWY/NA=; b=TEtZwH5I9dJcGMISM5c/et2Xi8f8AD1pIYP1Q+rRd58QO/DhLE4pvSkRaS7tdMo8lgvxlq b5nPoxpGYBVShFPeosWKz2654qtb9lJw9XJXLvHx+ezZkn8Gr49ACNhHtS6quMNZUnDf1+ ADm0lyeI4/gJyqFNjgydSj7P0a1RID4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1677317515; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hyQYJ35Bzo6fZ8IjDYvgU3vGQ9t9/+rrNDBNhxWY/NA=; b=e+TeR3eTI+3v74DPppNoXjoOLKEwpNRKh8VmKxHOKMc+FX6O9D8Hr6thmEyUnhJvBMBAI5 3/iWb1l0kdhLhoBg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id D009C13A3A; Sat, 25 Feb 2023 09:31:55 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id d2rwMIvV+WPpXwAAMHmgww (envelope-from ); Sat, 25 Feb 2023 09:31:55 +0000 Message-ID: Date: Sat, 25 Feb 2023 10:31:55 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH 0/2] Autogenerate gdb/syscalls/linux-defaults.xml.in (syscall groups) from strace sources Content-Language: en-US To: Pedro Alves , gdb-patches@sourceware.org References: <20230224232650.4031472-1-pedro@palves.net> From: Tom de Vries In-Reply-To: <20230224232650.4031472-1-pedro@palves.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,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: On 2/25/23 00:26, Pedro Alves wrote: > While working on the step-over-thread-clone/exit series, I noticed > that one of the new tests was failing. The test does "catch syscall > clone", and expects that pthread_create calls clone. Turns out that > on the glibc shipped with Ubuntu 22.04, pthread_create calls clone3, > not clone. To make the test cope with that, I thought of switching it > to "catch syscall group:process". Surprisingly, that catches "clone", > but not "clone3". > > This series fixes that, by adding a script that extracts the syscall > group info out the strace sources. > If I understand correctly, this is orthogonal to update-linux-from-src.sh ? [ FWIW, i've just ran update-linux-from-src.sh with linux kernel sources v6.2, and there where no changes. ] Thanks, - Tom > Pedro Alves (2): > Autogenerate gdb/syscalls/linux-defaults.xml.in (groups) from strace > sources > Regenerate Linux syscall group info > > gdb/syscalls/aarch64-linux.xml | 26 +- > gdb/syscalls/amd64-linux.xml | 106 ++--- > gdb/syscalls/arm-linux.xml | 26 +- > gdb/syscalls/bfin-linux.xml | 26 +- > gdb/syscalls/i386-linux.xml | 124 +++--- > gdb/syscalls/linux-defaults.xml.in | 545 ++++++++++++++++---------- > gdb/syscalls/mips-n32-linux.xml | 122 +++--- > gdb/syscalls/mips-n64-linux.xml | 100 ++--- > gdb/syscalls/mips-o32-linux.xml | 122 +++--- > gdb/syscalls/ppc-linux.xml | 124 +++--- > gdb/syscalls/ppc64-linux.xml | 104 ++--- > gdb/syscalls/s390-linux.xml | 122 +++--- > gdb/syscalls/s390x-linux.xml | 102 ++--- > gdb/syscalls/sparc-linux.xml | 114 +++--- > gdb/syscalls/sparc64-linux.xml | 94 ++--- > gdb/syscalls/update-linux-defaults.sh | 95 +++++ > 16 files changed, 1096 insertions(+), 856 deletions(-) > create mode 100755 gdb/syscalls/update-linux-defaults.sh > > > base-commit: 2e977d9901393ea1bacbe1896af0929e968bc811