From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x135.google.com (mail-il1-x135.google.com [IPv6:2607:f8b0:4864:20::135]) by sourceware.org (Postfix) with ESMTPS id 492213858413 for ; Mon, 20 Mar 2023 16:19:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 492213858413 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com Received: by mail-il1-x135.google.com with SMTP id l9so6731573iln.1 for ; Mon, 20 Mar 2023 09:19:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1679329193; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=lrLPqfA2Zo6Vwd/mZH3mbIaYbyD8x+zDAA20wwD2iJM=; b=QhZnPhRVmef1+Exb5jFBROxQcMxsGRjRjZHqotPugEu5Z3WZu2jEzyZJ1e7tbfGF9O lS/tn0MsVZRCl8TXqNqc5L4AJfmb0sS8gbiWvc8BW7Cbl348PU5hTmhmVasw4yxByrYm H3U/U7nudPavU1/TI+OWw7YzxJRn19N6BmbTSV7ORG582LZybchpUx+eEqm+XTMeT5Fl yVckf2a5RRsACN/bay+jrDmOwxxCwQ6lH+5kNO8Mtak9wSVgermmlkzeMRSL0DAZYs5L BusPWSuC0OEl/kQ9Gud9hrmzNTlcXl2V1u5MGdwb3Tk/DA6Fn/TEL2Ha/ePRfN4/+AiU w0rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679329193; 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=lrLPqfA2Zo6Vwd/mZH3mbIaYbyD8x+zDAA20wwD2iJM=; b=aue/fz9A+8yVr+WXkyrQ9H0ZWtKqDm4wOsvYsw9fsHXmdG73gWtf0Y+kK22wSafcOm svwNhP/8dx88ebw86pUGCTqNsoNn1nk2Ky+EItMg85BJOhmJqvRnB6AG5vSp5FZ4nn4i /y18nXzBC9xVlhw2cbsSji0u/vjU5nsFIngVS0E29fgFZnq9DgC5d+0aoxjjyV/exhZ1 SbBgAXv+Vy/+yqsrqbxweC1HkUQiXjnQMOZzZJeBHPFjkqs53nnlIGWZPlX0Lrtt47Gg fExl+hz2F/2/JqizqvkMetn7nkLWqB8AXp7YkVDZoFFU8ecuxgk4qnhvhjTrjgbEZZpT FBNA== X-Gm-Message-State: AO0yUKU1pYDaHO3XwINvWt+RfLsAuoDbh8TcqiCeAHsELZhzCTrEPeUb 9E3ziH/CmmkDXfjg/ZDB8SYz3NBDKGbsKTwd9lF38g== X-Google-Smtp-Source: AK7set9EBatUpFwjqcbemEGmVqh7O3bpoVsV4RZukJGr8zUourrBi2mKsrBkm3CB5NQQoun41gciYQ== X-Received: by 2002:a92:7609:0:b0:323:7a4:808a with SMTP id r9-20020a927609000000b0032307a4808amr4959785ilc.11.1679329193271; Mon, 20 Mar 2023 09:19:53 -0700 (PDT) Received: from localhost.localdomain (71-211-185-113.hlrn.qwest.net. [71.211.185.113]) by smtp.gmail.com with ESMTPSA id d123-20020a026281000000b003c4eb8f862fsm3386194jac.66.2023.03.20.09.19.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Mar 2023 09:19:52 -0700 (PDT) From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [PATCH] Update python-helper.exp for type allocation changes Date: Mon, 20 Mar 2023 10:19:43 -0600 Message-Id: <20230320161943.1494343-1-tromey@adacore.com> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,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: The type allocation changes introduced a failure in python-helper.exp that I did not notice. The bug is that, with these patches, arch-allocated integer types have a TYPE_SPECIFIC_INT object attached. This patch updates the test to allow this. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30253 --- gdb/testsuite/gdb.gdb/python-helper.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/testsuite/gdb.gdb/python-helper.exp b/gdb/testsuite/gdb.gdb/python-helper.exp index dbd78cbcf78..a58e3b601df 100644 --- a/gdb/testsuite/gdb.gdb/python-helper.exp +++ b/gdb/testsuite/gdb.gdb/python-helper.exp @@ -145,7 +145,7 @@ proc test_python_helper {} { " flags = \[^\r\n\]+," \ " owner = $hex \\(gdbarch\\)," \ " target_type = 0x0," \ - " type_specific_field = TYPE_SPECIFIC_NONE}"] + " int_stuff = { bit_size = $decimal, bit_offset = $decimal }}"] gdb_test -prompt $outer_prompt_re "print *val->m_type->main_type" $answer "pretty print type->main_type" # Send the continue to the outer GDB, which resumes the inner GDB, -- 2.39.1